This chapter describes a circuit diagram and the peripheral hardware to be used in this sample program.
2.1
Circuit Diagram
A circuit diagram is shown below.
SW2
SW1
Cautions 1. Connect the AV
microcontrollers).
2. Connect the AV
3. Leave all unused pins open (unconnected), except for the pins shown in the circuit diagram
and the AV
2.2
Peripheral Hardware
The peripheral hardware to be used is shown below.
(1) Switches (SW1, SW2)
These switches are used as inputs to control the lighting of the LEDs.
(2) LEDs (LED1, LED2, LED3)
The LEDs are used as outputs corresponding to switch inputs.
4
CHAPTER 2 CIRCUIT DIAGRAM
V
DD
V
DD
78K0S/Kx1+
V
SS
microcontroller
P43
P40
pin directly to V
REF
pin directly to GND (only for the 78K0S/KB1+ microcontroller).
SS
and AV
pins.
REF
SS
Application Note U18752EJ2V0AN
V
DD
V
DD
RESET
LED3
V
P22
LED2
P21
LED1
P20
(only for the 78K0S/KA1+ and 78K0S/KB1+
DD
DD
V
DD
Need help?
Do you have a question about the 78K0S/K 1+ Series and is the answer not in the manual?
Questions and answers