Difference between revisions of "OLED Display 0.96"
(→Liens internes) |
(→Liens externes) |
||
| Line 46: | Line 46: | ||
==== Liens externes ==== | ==== Liens externes ==== | ||
[https://www.seeedstudio.com/Grove-OLED-Display-112-p-781.htm shop]<br> | [https://www.seeedstudio.com/Grove-OLED-Display-112-p-781.htm shop]<br> | ||
| − | http://wiki.seeed.cc/Grove-OLED_Display_0.96inch/<br> | + | [http://wiki.seeed.cc/Grove-OLED_Display_0.96inch/ wiki]<br> |
| − | [http://wiki.seeedstudio.com/Grove-OLED_Display_0.96inch/ wiki]<br> | + | [http://wiki.seeedstudio.com/Grove-OLED_Display_0.96inch/ wiki new]<br> |
[https://github.com/Seeed-Studio/OLED_Display_128X64 github] | [https://github.com/Seeed-Studio/OLED_Display_128X64 github] | ||
Revision as of 21:27, 11 March 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'
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