hoverbrett/hoverbrettctrl/src/main.cpp

15 lines
194 B
C++
Raw Normal View History

2022-03-28 17:52:20 +00:00
#include <Arduino.h>
#include "hoverboard-esc-serial-comm.h"
ESCSerialComm esc(Serial2);
2022-03-28 17:52:20 +00:00
void setup() {
2022-03-28 17:52:20 +00:00
}
2022-03-28 17:52:20 +00:00
void loop() {
unsigned long loopmillis=millis();
esc.update(loopmillis);
2022-03-28 17:52:20 +00:00
}