Difference between revisions of "OLED Display 0.96 (SSD1315)"

From
Jump to: navigation, search
(Code)
(Code)
Line 57: Line 57:
 
[https://wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315 wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315] <font color=red>wiki</font><br>
 
[https://wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315 wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315] <font color=red>wiki</font><br>
  
==== Code ====
+
==== Code Hello World! ====
  
 
<pre>
 
<pre>

Revision as of 21:22, 6 June 2025

Grove - OLED Display 0.96 (SSD1315) inches (Seeed-Studio)

Caractéristiques

Dot Matrix 128×64 Monochrome(white)
3.3V/5V compatible

Communication

I2C : Adresse 0x3C

If your board is ATmega328, such as Seeeduino V4.2 and Arduino UNO, you need to change to soft I2C when using the U8G2 library.This is not required if you are using a SAMD development board.

Images

OLED-Display-0-96-SSD1315.png

Tableau

Seeed-Studio
Seeeduino Sensor

5V

Red

GND

Black

SDA

White

SCL

Yellow

Grove - OLED Display 0.96 inches -

Drivers

SSD1315 chip

Voltage

3.3 ~ 5.5V

Liens externes

www.seeedstudio.com/Grove-OLED-Display-0-96-SSD1315-p-4294.html shop

wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315 wiki

Code Hello World!

#include <Arduino.h>
#include <U8x8lib.h>
#include <Wire.h>

U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);   // OLEDs without Reset of the Display

void setup(void) {
  u8x8.begin();
  u8x8.setFlipMode(1);   // set number from 1 to 3, the screen word will rotary 180
}

void loop(void) {
  u8x8.setFont(u8x8_font_chroma48medium8_r);
  u8x8.setCursor(0, 0);
  u8x8.print("Hello World!");
}