Example description
Overview
========
This example is a reference application to detect the powerkey status
by using the keypad module
-This example does not require FreeRTOS
Hardware requirements
=====================
- LinkIt 2523 HDK
- Personal Computer
- Type-A to micro-B USB
Board settings
==============
Default board settings
- The powerkey on the HDK is SW6501.
Prepare the Demo
================
1. Connect a micro USB cable between the host PC and the MK20 USB port on the target board.
2. Build the project and Download the program to the target board.
3. Open a serial terminal with the following settings:
- 115200 baud rate
- 8 data bits
- No parity
- One stop bit
- No flow control
Running the demo
================
1. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The transaction result is displayed in the log. The log displays the current status of press or
longpress on the powerkey
Customization options
=====================