Fujitsu FSSDC-9B506-EVB Manual do utilizador - Página 20

Procurar online ou descarregar pdf Manual do utilizador para Placa-mãe Fujitsu FSSDC-9B506-EVB. Fujitsu FSSDC-9B506-EVB 34 páginas. Fss mb9bf506r ev-board

Fujitsu FSSDC-9B506-EVB Manual do utilizador
4.7 LCD & AD & Key
Hardware Setting
None
Flowchart
led, dual timer, ad)
Cur_AD_calue>threshold value
Usage
1) Run the code
2) Press key, and the key pressed can display on the LCD
3) Regulate the potentiometer to change the input voltage of channel 7, and this
voltage can be detected and displayed on LCD.
Start
Initialization
(clock, key, lcd,
Y
Set LCD update
Press key?
N
AD convert
Pre_AD_value-
N
Y
Count Time = 1s
N
N
Count time++
Figure 4-11: LCD, key, AD Sample Code Flowchart
Display key
flag
pressed in LCD
Y
Set LCD update
flag
Count time = 0
LCD update flag = 1 ?
Y
Clear LCD update
Clear window and
flag
display logo in LCD
20
Display new AD
value on LCD