posted: Mon, Jul 3, 2023 |
tagged: references | tech
return to references home
Validated in Ubuntu 22.04 LTS with CircuitPython
As you'll find, using the Serial console in Mu can be a little finicky, or downright flaky at times. Even if you've added your user account to the dialout group (sudo usermod -aG dialout <myusername>
), the results can be mixed at best. I've found Tio to be a nice mechanism for this, and I tend to have this open in the terminal while writing code in VS Code alongside. It is a comfortable workflow, at least for me.
Also one of the very nice features, if your device disconnects from your machine, Tio will re-establish the connection once the board is detected.
So let's get this started!
Homebrew is a package manager intended for macOS but also works on Linux. Homebrew brings a lot of Linux functionality to macOS, but some developers build specifically for Homebrew. There is an impressive list of packages available for Homebrew.
I have a quick write-up on installing Homebrew in my references repository. Once installed, you can install Tio
brew install tio
tldr -u
tio -L
tio /path/to/device
CTRL + t
followed by q