LCD won't stay on.

Do you have a question on how to do something.
Ask in here.
Post Reply
thedru13
Posts: 8
Joined: Tue Aug 09, 2011 8:07 am

LCD won't stay on.

Post 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++)
{
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: LCD won't stay on.

Post by rimai »

Make sure that the lcd timeout is greater than zero when you update memory settings with the client 2.2
Roberto.
thedru13
Posts: 8
Joined: Tue Aug 09, 2011 8:07 am

Re: LCD won't stay on.

Post 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.
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: LCD won't stay on.

Post by Bryan »

Capture11.PNG
Capture11.PNG (6.37 KiB) Viewed 5142 times
-=Bryan=-
thedru13
Posts: 8
Joined: Tue Aug 09, 2011 8:07 am

Re: LCD won't stay on.

Post by thedru13 »

Bryan wrote:
Capture11.PNG
How do you get into that?
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: LCD won't stay on.

Post 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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: LCD won't stay on.

Post 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.
Roberto.
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: LCD won't stay on.

Post by Bryan »

thedru13 wrote:
Bryan wrote:
Capture11.PNG
How do you get into that?
Sorry, thought you were using Reef Client 2.2
-=Bryan=-
Post Reply