Skip to content

reinit Serial after USBHIDKeyboard usage #10993

@SuGlider

Description

@SuGlider

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>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions