Initial commit

This commit is contained in:
Julian Appel 2026-03-29 14:47:13 +02:00
commit b49984b9c0
32 changed files with 2394 additions and 0 deletions

27
src/main.cpp Normal file
View file

@ -0,0 +1,27 @@
#include <Arduino.h>
#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();
}