upload-and-monitor
Flash an Arduino sketch, wait for reboot, and capture serial output in a single call to see results immediately.
Instructions
Flash a sketch and immediately show its serial output — one call from new code to visible result. Uploads, waits for the board to reboot, then captures a serial snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqbn | No | Board FQBN, e.g. 'arduino:avr:uno'. Omit if set via board-attach. | |
| port | No | Upload/monitor port, e.g. 'COM3'. Omit if set via board-attach. | |
| verify | No | Verify flash after upload (default false) | |
| baudrate | No | Monitor baud rate (default 9600). Must match Serial.begin(). | |
| monitorMs | No | How long to listen after upload in ms (default 4000, max 15000) | |
| sketchPath | Yes | Path to sketch folder or .ino file | |
| boardOptions | No | Board options, e.g. 'cpu=atmega328old' | |
| additionalUrls | No | Extra board-manager URLs |