LCD won't stay on.
Posted: Sat Aug 13, 2011 12:06 pm
My LCD keeps timing out. not sure where to change it. It just blinks for a second if i hit the joy stick.
Is this where I should change something
void LCD_Boot(void)
{
e.lcd_init();
e.lcd_clear(200,0,0,131,15);
e.lcd_draw_text(31, 200, 6, 5, "Reef Controller Demo");
e.lcd_clear(216,0,15,131,15);
e.lcd_clear(212,0,16,131,17);
e.lcd_clear(212,0,17,131,16);
e.lcd_clear(208,0,18,131,18);
}
void Check_LCD_PowerSave(boolean bHome)
{
LastPowerSave=millis();
if (PowerSave)
{
PowerSave=false;
e.lcd_Wake();
LCD_Boot();
e.lcd_BacklightOn();
if (bHome) menuExit();
}
}
void loading_delay(int idelay)
{
for (int a=0; a<idelay;a++)
{
Is this where I should change something
void LCD_Boot(void)
{
e.lcd_init();
e.lcd_clear(200,0,0,131,15);
e.lcd_draw_text(31, 200, 6, 5, "Reef Controller Demo");
e.lcd_clear(216,0,15,131,15);
e.lcd_clear(212,0,16,131,17);
e.lcd_clear(212,0,17,131,16);
e.lcd_clear(208,0,18,131,18);
}
void Check_LCD_PowerSave(boolean bHome)
{
LastPowerSave=millis();
if (PowerSave)
{
PowerSave=false;
e.lcd_Wake();
LCD_Boot();
e.lcd_BacklightOn();
if (bHome) menuExit();
}
}
void loading_delay(int idelay)
{
for (int a=0; a<idelay;a++)
{