Fujitsu MB9B500 Series Kullanıcı Kılavuzu - Sayfa 20

Anakart Fujitsu MB9B500 Series için çevrimiçi göz atın veya pdf Kullanıcı Kılavuzu indirin. Fujitsu MB9B500 Series 34 sayfaları. Fss mb9bf506r ev-board

Fujitsu MB9B500 Series Kullanıcı Kılavuzu
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