Method 2 – using Python and Firmata
In the previous chapter, we discussed the benefits of using Python programming that is assisted by Firmata over using native Arduino sketches. The Python-based programming approach provides tangible experience when performing any algorithmic or parametric changes. In this section, we are going to explore these benefits and also learn important Python programming paradigms.
The project setup
Let's make sure that you have done the following before we go ahead with Python programming:
- Made sure that the hardware components are set up, as described in the system design
- Connected the Arduino to your computer using a USB cable
- Uploaded the StandardFirmata sketch back to Arduino
- Made sure that you have Python and the Python ...