diff --git a/.gitmodules b/.gitmodules index ae910cb..9367d94 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "hoverboard-firmware-hack-foc-serial-esc"] path = hoverboard-firmware-hack-foc-serial-esc url = https://repos.ctdo.de/interfisch/hoverboard-firmware-hack-foc-serial-esc +[submodule "hoverbrettctrl/lib/hoverboard-esc-serial-comm"] + path = hoverbrettctrl/lib/hoverboard-esc-serial-comm + url = https://repos.ctdo.de/interfisch/hoverboard-esc-serial-comm diff --git a/hoverbrettctrl/lib/hoverboard-esc-serial-comm b/hoverbrettctrl/lib/hoverboard-esc-serial-comm new file mode 160000 index 0000000..ba0b195 --- /dev/null +++ b/hoverbrettctrl/lib/hoverboard-esc-serial-comm @@ -0,0 +1 @@ +Subproject commit ba0b19560f3fbd276a220b709b23937646eff385 diff --git a/hoverbrettctrl/src/main.cpp b/hoverbrettctrl/src/main.cpp index 58b344c..d3a72da 100644 --- a/hoverbrettctrl/src/main.cpp +++ b/hoverbrettctrl/src/main.cpp @@ -1,9 +1,14 @@ #include +#include + +ESCSerialComm esc; + void setup() { - // put your setup code here, to run once: + esc = ESCSerialComm(); //create object } + void loop() { // put your main code here, to run repeatedly: } \ No newline at end of file