Software › Button

Button

demo Open · freely redistributable

An original CC0 bare-metal Feather nRF52840 Express program: it reads the on-board USER switch (SW1, P1.02, active-low with pull-up) from the GPIO IN register. While the button is down the NeoPixel glows green and the blue LED lights; while up the NeoPixel glows dim red and the red LED lights. Each press/release edge prints over UARTE0. Exercises the real button GPIO input path; pairs with the on-screen SW1 button.

Download ↓

Format: nRF52840 flash image (bare-metal, compiled C)  ·  By: emulators.org  ·  Licence: Public domain (CC0)

Runs on