CHAPTER 5 OPERATION CHECK USING THE DEVICE
5.2 Operation with the Device
This section describes an example of an operation check using the device.
The HEX file generated by executing build can be written to the flash memory of the device.
For how to write to the flash memory of the device, refer to the
78K0S/Kx1+ Simplified Flash Writing Manual
Information
(being prepared).
An example of how to connect the device and peripheral hardware (switch and LEDs) to be used is shown below.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
LED2
(P20)
(P21)
(INTP1)
SW
(V
SS
)
V
DD
(V
DD
)
V
DD
(RESET)
78K0S/KB1+
microcontroller
LED1
V
DD
V
DD
+
+
−
−
An operation example of the device to which this sample program has been written is described below.
(1) Operation before pressing the switch (operation of main processing)
LED1 blinks about every 120 ms.
LED2
LED1
<Output>
Blinks about
every 120 ms.
Application Note U18847EJ1V0AN
21