Page 1 of 1

LCD won't stay on.

Posted: Sat Aug 13, 2011 12:06 pm
by thedru13
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++)
{

Re: LCD won't stay on.

Posted: Sat Aug 13, 2011 12:43 pm
by rimai
Make sure that the lcd timeout is greater than zero when you update memory settings with the client 2.2

Re: LCD won't stay on.

Posted: Sat Aug 13, 2011 1:07 pm
by thedru13
rimai wrote:Make sure that the lcd timeout is greater than zero when you update memory settings with the client 2.2
Can you tell me where to find that. Still trying to navigate my way around the code.

Re: LCD won't stay on.

Posted: Sat Aug 13, 2011 3:39 pm
by Bryan
Capture11.PNG
Capture11.PNG (6.37 KiB) Viewed 5287 times

Re: LCD won't stay on.

Posted: Sat Aug 13, 2011 3:50 pm
by thedru13
Bryan wrote:
Capture11.PNG
How do you get into that?

Re: LCD won't stay on.

Posted: Sat Aug 13, 2011 4:28 pm
by binder
He is using the demo software and the client suite and memory stuff does not apply to him.

There is a setting that is being missed. Roberto will be able to shed more light as i am not that familiar with it.

curt

Re: LCD won't stay on.

Posted: Sat Aug 13, 2011 4:31 pm
by rimai
Maybe we need to start from the beginning.
That code looks like the old preloaded code. Are you trying to change something in the code?
If you are, I highly recommend you use RAGen instead: http://forum.reefangel.com/viewtopic.php?f=15&t=60
It will generate the code for you, so you won't need to do be thinking about code.

Re: LCD won't stay on.

Posted: Sat Aug 13, 2011 6:30 pm
by Bryan
thedru13 wrote:
Bryan wrote:
Capture11.PNG
How do you get into that?
Sorry, thought you were using Reef Client 2.2