7 lcd & ad & key – FUJITSU 32-Bit Microcontroller MB9B500 Series User Manual
Page 20
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
See also other documents in the category FUJITSU Notebooks:
- A6110 (25 pages)
- E8020D (28 pages)
- T3010 (26 pages)
- C-6651 (36 pages)
- LIFEBOOK U810 (176 pages)
- LIFEBOOK C-6XX7 (2 pages)
- T4020D (29 pages)
- V1010 (162 pages)
- C-4120 (120 pages)
- A3110 (31 pages)
- C1110 (2 pages)
- AMILO Pi 2550 (3 pages)
- TeamPoS 7000 (50 pages)
- Lifebook E-6624 (32 pages)
- E-6664 (104 pages)
- B-2562 (35 pages)
- B2610 (35 pages)
- AMILO A1650G (3 pages)
- LIFEBOOK B142 (112 pages)
- LIFEBOOK C2010 (116 pages)
- 1200 (38 pages)
- AMILO Pi 1505 (3 pages)
- T4210 (136 pages)
- Laptop (96 pages)
- B3020 (115 pages)
- A6025 (28 pages)
- V700 (161 pages)
- ErgoPro m664 (98 pages)
- A3040 (23 pages)
- T4220 (136 pages)
- DESKPOWER 6000/SS (79 pages)
- E7010 (28 pages)
- B2620 (34 pages)
- AMILO Pa 2510-25P (2 pages)
- B2630 (31 pages)
- C2330 (30 pages)
- A1010 (14 pages)
- B6220 (128 pages)
- LIFEBOOK C1110 (3 pages)
- C1410 (112 pages)
- A6010 (26 pages)
- 510 (40 pages)
- B3000 (28 pages)
- V3525 (3 pages)