CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Question about the NHD-1.8-128160ZF-CTXL

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Alison



Joined: 30 Aug 2011
Posts: 5
Location: France

View user's profile Send private message MSN Messenger

Question about the NHD-1.8-128160ZF-CTXL
PostPosted: Sat Sep 03, 2011 6:28 am     Reply with quote

Hello !

I use the NHD-1.8-128160ZF with its program.
My problem is that this code changes the brightness but not the color of the screen (still white)
Code:

void main(void)
{
output_B(0x00);
resetLCD();
init_LCD();
while(1)                         //continue
{
   displayQuads();                     //color quadrants
   delay_us(2000);
   Fulldisplay(0xF8,0x00);              //Red
   delay_us(1500);
   Fulldisplay(0x07,0xE0);            //Green
   delay_us(1500);
   Fulldisplay(0x00,0x1F);            //Blue
   delay_us(1500);
   Fulldisplay(0xFF,0xFF);            //White
   delay_us(1500);
   Fulldisplay(0x00,0x00);            //Black
   delay_us(1500);
   dispPic(picture);                  //16bpp bitmap
   delay_us(2000);
}
}


Do you know where this problem come from?
Thanks for your answer
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group