monitor
Capture printed output from a running MicroPython program for up to a specified number of seconds without interrupting it. Listens to the board's console, so it can also observe main.py output after boot.
Instructions
Read what the running program prints, for up to seconds (default 5, returns early if it ends). Never interrupts it: with Thonny closed it just listens to the board's console, so it also works for main.py running on its own after boot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | No |