Alison
Joined: 30 Aug 2011 Posts: 5 Location: France
|
Question about the NHD-1.8-128160ZF-CTXL |
Posted: Sat Sep 03, 2011 6:28 am |
|
|
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 |
|