Software › Rainbow + Sound

Rainbow + Sound

demo Open · freely redistributable

An original CC0 bare-metal Circuit Playground Express program written for emulators.org and compiled with clang for thumbv6m (ARM Cortex-M0+). It bit-bangs the 10 WS2812 NeoPixels on PB23 with a rotating HSV rainbow and plays a short pentatonic note on the SAMD21 DAC (speaker) each step. Hold button A to speed up and raise the octave, hold B for a white comet, and flip the slide switch to mute the tone. Drives the real WS2812 line protocol and the real DAC directly, no runtime.

Download ↓

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

Runs on