Loading...
Searching...
No Matches
SerialUSB.h File Reference

Serial: USB CDC serial port (TinyUSB). More...

#include "api/HardwareSerial.h"

Go to the source code of this file.

Classes

class  SerialUSBClass
 Serial port over the board's USB connection; sketches use Serial. More...

Functions

void serialUsbInitStack ()
 Starts TinyUSB and its 1 ms background task. Called once from init().

Variables

SerialUSBClass Serial
 USB serial port, the one the Serial Monitor uses.

Detailed Description

Serial: USB CDC serial port (TinyUSB).

The USB stack starts in init() (main.cpp), before setup(), and is serviced in the background every 1 ms, so the board always enumerates and accepts the IDE's 1200-baud "touch" (reboot to BOOTSEL for upload).