Software › Buttons

Buttons

demo Open · freely redistributable

An original CC0 bare-metal Calliope mini program: it enables pull-ups on the button pins (A = P0.17, B = P0.16) and reads them from the GPIO IN register, showing a neutral face by default, a happy face while A is held (with a high beep and a green RGB tint) and a sad face while B is held (a low beep and a red tint). Exercises the real button hardware together with the speaker and RGB LED.

Download ↓

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

Runs on