How to get into a MicroPython REPL using USB in 10 seconds
On Linux, use picocom:
picocom.sh
picocom /dev/ttyUSB0 -b115200and press enter to get a REPL (or press the RESET button on the board if that does not work).
You should now see the
repl.txt
>>>prompt.
Don’t have picocom installed?
install-picocom.sh
sudo apt -y install picocomGot permission denied errors?
add-to-dialout.sh
sudo usermod -a -G dialout $USERthen logout and log back in or reboot!
Check out similar posts by category:
MicroPython
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow