Summary

In this chapter, we learned about different displays the we could connect to our board through the I2C bus. We worked with an LCD display, an RGB backlight, and then replaced it with an OLED dot matrix.

We wrote the code that took advantage of the modules and classes included in the upm library that made it easier for us to work with LCD and OLED display and show text on them. In addition, we wrote the code that interacted with an analog servo. Instead of writing our own code to set the output duty cycle based on the desired position for the shaft, we took advantage of a specific module and a class in the upm library. We could control the shaft to allow us to create a gauge chart to display the temperature value retrieved with a sensor. ...

Get Internet of Things with Python 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.