got motor running

This commit is contained in:
Leonetienne
2025-12-14 18:57:28 +01:00
parent d339f5b297
commit bd906add53
14 changed files with 123 additions and 78 deletions
+10
View File
@@ -3,6 +3,16 @@
MainLoop* mainloop = nullptr;
void setup() {
// Play small init sequence on error LED to let users know that the device is (re-)booting
pinMode(3, OUTPUT);
for (int i = 0; i < 4; i++) {
digitalWrite(3, HIGH);
delay(100);
digitalWrite(3, LOW);
delay(100);
}
// Init system
mainloop = &MainLoop::getInstance();
mainloop->setup();
}