17
Software Flow Chart
Y
N
In standby mode ?
Y
Check the analog port, are there
any signals coming ?
Wake up the scalar. ?
Does the scalar send out a
interrupt request ?
Update the life time of back light.
Are there any signals
coming from analog port ?
Y
N
Display "No connection Check
Signal Cable" message. And go
into standby mode after the
message disappear.
Program the scalar to be able to show the coming mode.
N
Read the keyboard. Is the power key pressed ?
Process the
OSD display.
N
Y
N
Y
Are the AUTO and
SELECT keys pressed ?
N
Enter factory mode.
Y
Save the power key status into eeprom.Turn on the
LED and set it to green color.Scaler initialize.
Get the PWM value of brightness from eeprom.
MCU initialize
Is the eeprom blank ?
Program the eeprom
by default values.
Y
Is the power key pressed ?
Clear all global flags.
Y
N
N