Last active
July 7, 2022 04:57
-
-
Save ZavenArra/bd261c8eb6cbd8e77ec94c39e0f29eb7 to your computer and use it in GitHub Desktop.
Trying to get USBComposite working on F103RB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempted two ways to start USBSerial, but it never gets past the while loop | |
USBComposite.clear(); // clear any plugins previously registered | |
USBSerial.registerComponent(); | |
USBComposite.begin(); | |
while(!USBComposite) | |
{ | |
Serial2.println("waiting"); | |
delay(1000); | |
} | |
or | |
USBSerial.begin(); | |
while(!USBSerial) | |
{ | |
Serial2.println("waiting"); | |
delay(1000); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment