Software › Interrupt Heart

Interrupt Heart

demo Open · freely redistributable

An original CC0 bare-metal micro:bit v1 program that is genuinely interrupt-driven: main() sets up the nRF51 RTC1 real-time counter to raise a TICK interrupt, enables it in the Cortex-M0 NVIC, then sleeps in WFI forever. All the work — multiplexing the 5x5 matrix row by row and pulsing the heart big-to-small — runs inside RTC1_IRQHandler. It only animates if the emulator's exception model works (NVIC pend/enable, RTC->IRQ wiring, real exception entry/return), so it is the on-device proof that interrupts work.

Download ↓

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

Runs on