4.7 LCD & AD & Key
Hardware Setting
None
Flowchart
Start
Initialization
(clock, key, lcd,
led, dual timer, ad)
Press key?
Display key
pressed in LCD
AD convert
Pre_AD_value-
Cur_AD_calue>threshold value
Display new AD
value on LCD
Count Time = 1s
Set LCD update
flag
Set LCD update
flag
Count time++
Y
N
Y
N
N
Y
LCD update flag = 1 ?
Count time = 0
Clear LCD update
flag
Clear window and
display logo in LCD
Y
N
Figure 4-11: LCD, key, AD Sample Code Flowchart
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.
20
Содержание FSSDC-9B506-EVB
Страница 3: ...Revision History Date Version 2011 04 21 V1 0 3 ...
Страница 12: ... Press reset key on the board Programming will start Figure 3 8 Start Programming 12 ...
Страница 15: ...Figure 4 3 Send UART Data From PC Side 15 ...
Страница 23: ...2 Select a project eww file Figure 5 5 Select a Project 3 Click Project Rebuild All Figure 5 6 Rebuild All 23 ...