Software › RGB LED colour cycle
RGB LED colour cycle
demo Open · freely redistributable
An original public-domain (CC0) bare-metal program, hand-authored in Xtensa LX7 assembly and assembled to a flat ESP32-S3 image. It enables GPIO48 as an output (the bank-1 GPIO_ENABLE1 register) and bit-bangs the one-wire WS2812 waveform to walk the on-board addressable RGB LED through eight colours (red, orange, yellow, green, cyan, blue, purple, magenta), forever. The SoC decodes the bit-banged HIGH-pulse widths back into a 24-bit GRB colour, so the panel shows the LED actually changing colour. Real Xtensa machine code on the real memory map, so every instruction single-steps in the debugger.
Format: Raw ESP32-S3 flash image (Xtensa LX7), base64 · By: emulators.org · Licence: Public domain (CC0)