Hardware requirements
Micro USB cable
LPC845 Breakout board
Personal Computer
Board settings
No special settings are required.
Prepare the demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board.
Open a serial terminal with the following settings:
9600 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
The log below shows example output of the gpio driver demo in the terminal window:
GPIO Driver example
The LED is taking turns to shine.
Standard port read: 3fffff
Masked port read: 3f0000
Port state: fffff067
Port state: fffff067
...
When press K3 the LD1 GREEN will turn to shine.