Skip to content

rp2040 with 2 CDC devices USBSer1 - second port does vanish on code-upload #541

Closed Answered by s-light
s-light asked this question in Q&A
Discussion options

You must be logged in to vote
// If already enumerated, additional class driver begin() won't take effect
    // until re-enumeration
    if (TinyUSBDevice.mounted()) {
        TinyUSBDevice.detach();
        delay(10);
        TinyUSBDevice.attach();
    }

use as written in the example sketch...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by s-light
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant