Pset 9: Output Devices

OLED!

Connecting

I used the same PCB board from last week after unplugging it from the breadboard. I simply connect the OLED's VCC pin to 3.3V, GND to ground, SCL to SCL, and SDA to SDA. Voila the board is connected. I'm grateful for my past self for putting in connectors:)

Coding

I followed this Random Nerd tutorial on getting start with OLED display. I installed the Adafruit SSD1306 and GFX libraries then open up the ssd1306_128_64_i2c example and press run. Sadly this did not run. I asked Anthony for help, and we changed

#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32

to

#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3C for 128x64, 0x3C for 128x32

even though we were using a 128x64 display. This, however, fixes the issue.

Actually Coding

See the page for my final project!!