P Comp Week 8 Labs

Synchronous Serial Lab – OLED Screen Display Using I2C

Displaying Time and Sensor Value

I had a small issue getting the code to read the libraries. I had added a new tab making files titled “Adafruit_SSD1306.h” and “Adafruit_GFX” then pasting the code from Github, but I couldn’t get it to work. Then I found that I needed to go to the Manage Libraries tag and add the necessary ones there– then it worked.

Below is the video with the OLED display reading the sensor value.

Displaying a QR Code

Below is the code used to generate a QR code when a string is inputed into the serial monitor.

Synchronous Serial Lab – SPI Communication with a Digital Potentiometer

Leave a Reply

%d