OLED Display 0.96
Contents
Grove - OLED Display 0.96 inches (Seeed-Studio)
Caractéristiques
Dot Matrix 128×64
Support
Drivers
SSD1308 chip
LY190-128064
Voltage
3.3 ~ 5.5V
Code
Exemple "Hello World!"
il faut sauvegarde sous 'OLED_Hello_World.ino'
on trouve Wire.h ici C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\Wire.h
#include <Wire.h>
#include <SeeedOLED.h>
void setup()
{
Wire.begin();
SeeedOled.init(); //initialze SEEED OLED display
SeeedOled.clearDisplay(); //clear the screen and set start position to top left corner
SeeedOled.setNormalDisplay(); //Set display to normal mode (i.e non-inverse mode)
SeeedOled.setPageMode(); //Set addressing mode to Page Mode
SeeedOled.setTextXY(0,0); //Set the cursor to Xth Page, Yth Column
SeeedOled.putString("Hello World!"); //Print the String
}
void loop()
{
}
OLED_Hello_World.ino
Télécharger les sources sur GitHub
Liens internes
index wiki arduino
OLED Display 1.12 inches
4-Digital Display
Base Shield V2
Liens externes
shop
http://wiki.seeed.cc/Grove-OLED_Display_0.96inch/
wiki
github