PDA

View Full Version : LCD issue - what does FLAGS = 0 really do?



BrianT
- 27th February 2008, 06:13
Page 90 of my PBP manual in the LCDOUT instruction mentions FLAGS = 0 will reset an LCD that has been powered down and then powered up again for whatever reason.

I am using the SDEC 2 x 16 with LED backlight and the current jumps from 120 mA (100 mA used by the backlight) up to about 180 mA after issuing
FLAGS = 0
Pause 1000

Anyone know what FLAGS = 0 really does?

FLAGS is not a reserved word in my manual.

Cheers
Brian

Jerson
- 27th February 2008, 06:26
FLAGS = 0 is supposed to tell the LCD routines that it should intialize the LCD the next time an LCDOut command is received. Effectively it forces an initialization on the LCD when you call the LCDOut function.