add submodule for hoverboard serial communication

This commit is contained in:
interfisch 2022-03-28 20:11:31 +02:00
parent 016fddc847
commit 2bd4e16322
3 changed files with 10 additions and 1 deletions

3
.gitmodules vendored
View File

@ -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

@ -0,0 +1 @@
Subproject commit ba0b19560f3fbd276a220b709b23937646eff385

View File

@ -1,9 +1,14 @@
#include <Arduino.h>
#include <hoverboard-esc-serial-comm.h>
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:
}