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 comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: