![NEC 78K0S/K 1+ Series Application Note Download Page 4](http://html.mh-extra.com/html/nec/78k0s-k-1-series/78k0s-k-1-series_application-note_249252004.webp)
Application Note U18752EJ2V0AN
4
CHAPTER 2 CIRCUIT DIAGRAM
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.
V
DD
V
DD
V
SS
P43
P40
RESET
P22
P21
P20
V
DD
V
DD
LED3
V
DD
LED2
V
DD
LED1
SW2
SW1
78K0S/Kx1+
microcontroller
Cautions 1. Connect the AV
REF
pin directly to V
DD
(only for the 78K0S/KA1+ and 78K0S/KB1+
microcontrollers).
2. Connect the AV
SS
pin directly to GND (only for the 78K0S/KB1+ microcontroller).
3. Leave all unused pins open (unconnected), except for the pins shown in the circuit diagram
and the AV
REF
and AV
SS
pins.
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.