#include #include "hal/ws2812.h" #include "hal/usb_hid.h" #include "CMainController.h" static CMainController controller; void setup() { delay(500); // USB-Enumeration abwarten vor erstem noInterrupts()-Aufruf ws2812_init(); // Startup-Blink: bestätigt dass Firmware läuft ws2812_fill(100, 0, 0); ws2812_show(); delay(1000); ws2812_clear(); ws2812_show(); controller.setup(); } void loop() { controller.work(); }