Page 18
Figure 5-1: Two buttons, two LEDs and a reset button
5. Buttons and LEDs
The board also contains a
01
reset button and a pair of
02
buttons and
03
LEDs. Each of these additional peripherals are located
in the bottom area of the board. Reset button is used to manually reset the microcontroller. Pressing the reset button will generate
a low voltage level on microcontroller’s reset pin. LEDs can be used for visual indication of the logic state on two pins (RA0 and RA1).
An active LED indicates that a logic high (1) is present on the pin. Pressing any of these buttons can change the logic state of the
microcontroller pins (RD2 and RD3) from logic high (1) to logic low (0).
01
02
03