
This is a great OLED display that is very easy to work with. Using the Adafruit libraries makes this very easy. Some basic codes are shown below. Some additional info that might be helpful: > Current draw for 128x32 mode: 14.7mA (Adafruit logo), 4.4mA (4 lines of size 1), 4.5mA (2 lines of size 1) , 10.6 mA (2 rows of size 2 ). lines), < 10 µA (display off) > 128x64 mode current consumption: 10.5 mA (Adafruit logo), 3.3 mA (4 lines size1), 3.3 mA (2 lines size1), 6.6 mA (2 lines size2), < 10uA (display off)/************************* INCLUDES ********** ********* * **************** /#include <Wire.h>#include <Adafruit_GFX.h>#include <Adafruit_SSD1306.h>/* *** ******* *** ************** DEFINITIONS ********************* *** ***** ******/// Declaration for SSD1306 display connected to I2C (SDA, SCL pins)// For Arduino Uno R3, SDA is pin A4 and SCL is pin A5#define OLED_RESET -1 // Reset pin number (or -1 if Arduino Shared Reset Pin is used)/ / Adafruit_SSD1306 Display(128, 32, &Wire, OLED_RESET); Adafruit_SSD1306 Display(128, 64, &wire, OLED_RESET);/ ***************************** *SETUP***** *** ***************************** / Void setup() { Serial.begin(57600); // SSD1306_SWITCHCAPVCC = generate internal display voltage of 3.3V if (!display.begin(SSD1306_SWITCHCAPVCC, 0x3c)) {Serial.println(F("SS1306 mapping failed")); Per (;;); // Don't continue, infinite loop }}/******************************* MAIN ******* ** ** * *********************/void loop() { // basic display of four lines delay(500); // Pause for 0.5 seconds display.clearDisplay(); display.setTextSize(1); display.setTextColor(WHITE); display.setCursor(0, 0); display.println("Line 1"); display.println("Line 2"); display.println("Line 3"); display.println("Line 4"); display.display(); delay(4000); // Pause for 4 seconds // Turn off the display display.clearDisplay(); display.display(); display.ssd1306_command (SSD1306_DISPLAYOFF); // enable display display.ssd1306_command(SSD1306_DISPLAYON);}

REXQualis Comprehensive Starter Kit with Arduino MEGA 2560 & Detailed Tutorial for Arduino IDE Compatibility
11 Review

🌐 MCIGICM 2 Channel DC 5V Relay Module: Optocoupler Low Level Trigger Expansion Board for Arduino UNO R3, DSP, ARM, PIC, AVR, STM32, Raspberry Pi
11 Review

Gikfun Screw Shield Expansion Board: Enhance Arduino UNO R3 with the EK7007 Add-On
11 Review

LAFVIN Super Starter Kit for Arduino R3 Mega2560 Mega328 Nano with Detailed Tutorial - Compatible with Arduino IDE
11 Review

uxcell 3.5" HDD Screw Black 200pcs for Computer PC Case - Flat Phillips Head - 6#-32 - Hard Drive Fasteners
10 Review

🖥️ Helifouner 450-Piece Computer Standoffs Spacer Screws Kit: Ideal for Hard Drive, Motherboard, Fan, Power Graphics & Computer Cases
10 Review

MacBook Retina 13-inch (A1425, A1502) and 🔩 15-inch (A1398) Bottom Case Screw Set with Pentalobe Screwdriver
11 Review

M.2 Screw Kit: Easy Mounting for NVMe SSDs on ASUS Motherboards
19 Review