monitor-snapshot
Capture a short, non-blocking snapshot of Arduino serial output for Serial.println debugging; returns data received within a timeout instead of a live stream.
Instructions
Read serial output from a board for a few seconds (non-blocking snapshot). Use for Serial.println debugging. NOT a live stream — returns what arrived within timeoutMs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Serial port, e.g. 'COM3'. Omit if the sketch has a board-attach profile (then pass sketchPath). | |
| baudrate | No | Baud rate (default 9600). Must match Serial.begin() in the sketch. | |
| timeoutMs | No | How long to listen in ms (default 3000, max 15000) | |
| sketchPath | No | Sketch folder — used to find the board-attach port when port is omitted. |