In this tutorial, we’ll see how to read and write on a serial port using Zerynth.
A serial monitor acts as a separate terminal that lets you send and receive Serial Data, handy for debugging and also controlling the board from a keyboard!
Things used in this tutorial
- SparkFun ESP32 Thing. You can select one of the 32-bit microcontroller devices supported by Zerynth. We’ve chosen the ESP32 Thing by SparkFun (read Zerynth documentation here).
- Zerynth Studio, our IDE, one of the most popular Python tools for programming microcontrollers.
No assembling is required for this project.
Programming
Once you have installed Zerynth Studio and created a Zerynth user, you have to register and virtualize the board.
Clone and uplink the Zerynth example “Serial Port Read-Write Basics” as shown in the video.
Now enjoy interacting with Serial Monitor!
Code
Share This Story, Choose Your Platform!
Follow Zerynth on
Latest Posts