1
0
mirror of https://github.com/gdsports/USBHost_t36 synced 2024-11-14 13:15:00 -05:00
USBHost_t36/examples/AntPlus/AntPlus.ino
2017-10-20 06:45:27 -07:00

19 lines
277 B
C++

#include <USBHost_t36.h>
USBHost myusb;
USBHub hub1(myusb);
USBHub hub2(myusb);
AntPlus ant1(myusb);
void setup() {
while (!Serial) ; // wait for Arduino Serial Monitor
Serial.println("Ant+ USB Test");
myusb.begin();
ant1.begin();
}
void loop() {
myusb.Task();
}