Difference between revisions of "OLED Display 0.96"

From
Jump to: navigation, search
(Code)
(Code)
Line 18: Line 18:
 
[[File:Arduino logo.jpg|50px]]
 
[[File:Arduino logo.jpg|50px]]
 
Exemple "Hello World!"<br>
 
Exemple "Hello World!"<br>
il faut sauvegarde sous 'OLED_Hello_World.ino'
+
il faut sauvegarde sous 'OLED_Hello_World.ino'<br>
 +
on trouve Wire.h ici C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\Wire.h
 
  <code>
 
  <code>
 
  #include <Wire.h>
 
  #include <Wire.h>

Revision as of 00:32, 4 January 2018

Grove - OLED Display 0.96 inches (Seeed-Studio)

Caractéristiques

Dot Matrix 128×64

Support

OLED Display 128x64 recto.jpg OLED Display 128x64 verso.jpg

Drivers

SSD1308 chip
LY190-128064

Voltage

3.3 ~ 5.5V

Code

Arduino logo.jpg 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

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