8.12 Program Example Using I/O Ports
A program example using the I/O ports is shown below.
n Program example using I/O ports
• Processing specification
– All seven-segment (eight-segment when Dp included) LEDs turned on using port 0 and port 1
– P00 pin corresponds to common anode pin of LED, and P10 to P17 pins correspond to segment pins.
An eight-segment LED connection example is shown below.
MB90420 series
I/O PORT
P10
P07
P06
P05
P04
P03
P02
P01
P00
Fig. 8.10 Eight-segment LED Connection Example
8-51