Summary

In this chapter, we introduced two major Python programming paradigms: creating, reading, and writing files using Python while also storing data into these files and plotting sensor values and updating plots in real time. We also explored methods to store and plot real-time Arduino sensor data. Besides helping you in your Arduino projects, these methods can also be used in your everyday Python projects. Throughout the chapter, using simple exercises, we interfaced the newly learned CSV and matplotlib modules with the Tkinter and pyFirmata modules that we learned in the previous chapters. In the next chapter, you will be introduced to your second project—a portable unit that measures and displays environmental data such as temperature, ...

Get Python Programming for Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.