This test is intended to validate the digital input interrupt behavior of the GPIO pins.
Compile and flash using the Arduino IDE v2.x
- Place a jumper wire between the
GND
header pin of the Feather and the negative (blue/-) rail of the breadboard. - Place a jumper wires between the negative rail and each of the following pins:
A0
,A1
,A2
,A3
,A4
,A5
,D5
,D6
,D9
,D10
,D11
,D12
,D13
- Connect the STLINK to the STDC14 connector (a.k.a. JTAG) on the Feather. This will be used to collect logs.
On boot, you should see a "ready message" on the serial monitor (e.g. "Running Feather GPIO Digital Read Interrupt Test"). Once this message has appeared, the test is running.
First press the user button, and look for the following output.
USER_BTN: Interrupt
Next, pull each of the jumpers out of the negative (blue/-) rail of the
breadboard. You will see output for each pin that looks similar message from
USER_BTN
.
This test asserts that the LPUART must be functional as a serial inteface. If LPUART is unavailable, then the onboard LED will blink rapidly indicating the test has catastrophically failed.