Difference between revisions of "OLED Display 0.96"
(→Liens internes) |
(→Grove - OLED Display 0.96 inches (Seeed-Studio)) |
||
| Line 14: | Line 14: | ||
=== Voltage === | === Voltage === | ||
3.3 ~ 5.5V | 3.3 ~ 5.5V | ||
| + | |||
| + | === Code === | ||
| + | Exemple "Hello World!" | ||
| + | il faut sauvegarde sous 'OLED_Hello_World.ino' | ||
| + | <code> | ||
| + | #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() | ||
| + | { | ||
| + | }</code> | ||
| + | |||
==== Liens internes ==== | ==== Liens internes ==== | ||
Revision as of 23:56, 3 January 2018
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'
#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()
{
}
Liens internes
index wiki arduino
OLED Display 1.12 inches
4-Digital Display
Base Shield V2
Liens externes
https://www.seeedstudio.com/Grove-OLED-Display-112-p-781.html
http://wiki.seeed.cc/Grove-OLED_Display_0.96inch/
https://github.com/Seeed-Studio/OLED_Display_128X64