Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reinit Serial after USBHIDKeyboard usage #10993

Open
SuGlider opened this issue Feb 20, 2025 · 0 comments
Open

reinit Serial after USBHIDKeyboard usage #10993

SuGlider opened this issue Feb 20, 2025 · 0 comments
Assignees

Comments

@SuGlider
Copy link
Collaborator

Discussed in #10308

Originally posted by eadmaster September 7, 2024
example

USBHIDKeyboard Kb;
Kb.begin();
USB.begin();
Kb.print("foo");
//..
//reinit serial when finished
Kb.end();
//USB.~ESPUSB(); // Explicit call to destructor 
Serial.begin(115200);
Serial.println("this should appear");  // does not work!
````</div>
@SuGlider SuGlider self-assigned this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant