Purpose
The eic_example demonstrates how to use EIC driver toggle LED.
Requirements
This example can be used on SAM4L boards.
Description
The SAM4L controller waits for button press to generate external interrupt and will toggle LED.
Usage
- Build the program and download it to the board
- On the computer, open, and configure a terminal application (e.g., HyperTerminal on Microsoft® Windows®) with these settings:
- 115200 bauds
- 8 bits of data
- No parity
- 1 stop bit
- No flow control
- In the terminal window, the following text should appear (values depend on the board and chip used):
* -- EIC Example xxx --
* -- xxxxxx-xx
* -- Compiled: xxx xx xxxx xx:xx:xx --
*
- the sent text should appear.