Chapter 6: Building Displays for Communication using I2C and SPI Interfaces

In the previous chapter, we learned how to display data using a 7-segment display, how a MAX7219 chip works, how ultrasonic distance sensors work, and how to write a library for all this. We used the SPI interface to do so.

After working through this chapter, we will know how to use different types of displays and which displays use different interfaces for communication. We are going to learn how the I2C interface works by using a display that we can connect using an I2C bus. With that covered, we are going to learn how to read and interpret user input. After that, we are going to learn how to draw shapes and texts on displays. Finally, we are going to learn how to ...

Get Creative DIY Microcontroller Projects with TinyGo and WebAssembly 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.