You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #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();
- }
|