got motor running
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user