Skip to Content
Python Programming for Arduino
book

Python Programming for Arduino

by Pratik Desai
February 2015
Intermediate to advanced
400 pages
9h 49m
English
Packt Publishing
Content preview from Python Programming for Arduino

Integrating plots in the Tkinter window

Due to the powerful integration capabilities of Python, it is very convenient to interface the plots generated by the matplotlib library with the Tkinter graphical interface. In the last exercise of the previous chapter, we integrated Tkinter with pyFirmata to implement the project of Chapter 3, The First Project – Motion-triggered LEDs, with the GUI. In this exercise, we will extend this integration further by utilizing matplotlib. We will perform this action by utilizing the same Arduino circuit that we have been using in this chapter and expand the code that we used in the previous exercise. Meanwhile, we are not introducing any new methods in this exercise; instead we will be utilizing what you learned ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Programming with Raspberry Pi

Python Programming with Raspberry Pi

Srihari Yamanoor, Sai Yamanoor

Publisher Resources

ISBN: 9781783285938Supplemental Content