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

19 lines
277 B
Arduino
Raw Normal View History

#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();
}