basic framework with hoverboard-esc-serial-comm lib
This commit is contained in:
parent
2bd4e16322
commit
527e7accd6
|
@ -1 +1 @@
|
|||
Subproject commit ba0b19560f3fbd276a220b709b23937646eff385
|
||||
Subproject commit 97630cfcff7fa813ace7d1cfb7d4268a07e98750
|
|
@ -1,14 +1,15 @@
|
|||
#include <Arduino.h>
|
||||
|
||||
#include <hoverboard-esc-serial-comm.h>
|
||||
#include "hoverboard-esc-serial-comm.h"
|
||||
|
||||
ESCSerialComm esc;
|
||||
ESCSerialComm esc(Serial2);
|
||||
|
||||
void setup() {
|
||||
esc = ESCSerialComm(); //create object
|
||||
|
||||
}
|
||||
|
||||
|
||||
void loop() {
|
||||
// put your main code here, to run repeatedly:
|
||||
unsigned long loopmillis=millis();
|
||||
esc.update(loopmillis);
|
||||
}
|
Loading…
Reference in New Issue