- ST7735 SPI-Treiber (80x160, 5x7-Font) mit Debug-Panel (5MIN/FRM/DROP/SRC/FREE/CH) - SPI2_HOST statt SPI1_HOST (SPI1 = Flash-reserviert auf ESP32-C5) - xTaskCreate statt xTaskCreatePinnedToCore (C5 ist Single-Core) - SD-Karte (SPI 1-bit, 32 GB, FAT32) + Flash-storage-Fallback - Serial-REPL: stats, seron, seroff, reboot - APA102 RGB-Status-LED (blau=boot, gruen=armed, rot=fehler) - Build: ESP-IDF v6.1-dev, RISC-V, ~920 KB Replaced old block1-4 prototype with full modular firmware.
9 lines
276 B
C
9 lines
276 B
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
/* APA102 RGB status LED on the T-Dongle C5 (DI=5, CI=4), bit-banged.
|
|
* Brightness values here are full-on/full-off per channel (0 = off, else on). */
|
|
void led_init(void);
|
|
void led_set(uint8_t r, uint8_t g, uint8_t b);
|
|
void led_clear(void);
|