Simple effective and easy on Arduino

Simple effective and easy on Arduino

0.96 inch OLED LCD 128 x 64 IIC I2C serial SPI LED display module for Arduino (Electronics)

Customer Review

Link Arduino library:
[...]

copy the lib folder in the Arduino libraries

connect VCC / GND on the Arduino VCC / GND of the Arduino
Sign A4 Arduino -> SDA screen
Sign arduinon A5 -> SCL screen

hello world code for this screen:

#include "U8glib.h"

U8GLIB_SSD1306_128X64 u8g (U8G_I2C_OPT_NO_ACK);

void draw (void) {
// Graphic commands to redraw the full screen shoulds be Placed here
u8g.setFont (u8g_font_unifont);
//u8g.setFont(u8g_font_osb21);
u8g.drawStr (0, 22, "Hello World!");
}

void setup (void) {
// Flip screen, if required
// U8g.setRot180 ();

// Set SPI backup if required
//u8g.setHardwareBackup(u8g_backup_avr_spi);

// Assign default color value
if (u8g.getMode () == U8G_MODE_R3G3B2) {
u8g.setColorIndex (255); // White
}
else if (u8g.getMode () == U8G_MODE_GRAY2BIT) {
u8g.setColorIndex (3); // Max intensity
}
else if (u8g.getMode () == U8G_MODE_BW) {
u8g.setColorIndex (1); // Pixel is
}
else if (u8g.getMode () == U8G_MODE_HICOLOR) {
u8g.setHiColorByRGB (255,255,255);
}
}

void loop (void) {
// Loop picture
u8g.firstPage ();
do {
draw ();
} While (u8g.nextPage ());

// After rebuild the picture Some delay
delay (50);
}

very satisfied, happy again Rank: 5/5
April 22
Nett made 3 Rank: 3/5
October 14
I love Desigual Rank: 5/5
October 31
Again and again 2 1 Rank: 3/5
February 18
Not bad 432 Rank: 4/5
December 5

Related Reviews


successful combination of simple, good and easy to useCanon IXUS 230 HS Digital Camera (12MP, 8x opt. Zoom, 7.6 cm (3 inch) display, image stabilized) (Electronics) Effective and easy to installFilm Voguecase® of tempered glass screen protector, protector and optimal ULTRA RESISTANT INDEX 9H Hardness High transparency for Samsung Galaxy Tab 10.1 Pro T520 / Samsung Galaxy Note 10.1 2014 (Wireless Phone Accessory) Excellent product, simple, effective and inexpensiveTexas TEX-TI36XPRO Black Instruments Scientific Calculator (Office Supplies) effective and easy to washH.Koenig GSX12 Juice Extractor Vertical Black / Stainless steel 400 W (Kitchen) Simple, elegant and easy to installStainless Toilettenpaierhalter / toilet paper holder massively, DELUXE (household goods) effective and easyWondercore abdominal Device Green 52 x 55 x 38 cm (Sports) Simple, effective and cheapLogitech Desktop MK120 Keyboard and Wired Mouse Set curved bar spacing Qwerty Black (Personal Computers) Effective and easy to maintainMoulinex PC300110 Vitapress 600ml Citrus Press 25W (Kitchen) Effective and easy to implementPhoto Solutions Eclipse Lens / CCD Cleaning liquid bottle 59ml [PS0020] (Accessory) A simple, effective and inexpensiveT'nB Colors Sleeve Slim Cover for Tablet 10 "Rose (Accessory) Effective and easy to install 1 1Netgear WN1000RP-100FRS Universal Repeater Wireless-N 150 For mobile devices (Personal Computers) Excellent, easy, simple, effective and cheap.Mobile Racks StarTech.com without drawer 5.25 inch SATA hard drive 3.5 inch - Rack mobile hot-swap / hot swap (Personal Computers) simple, effective and convenient[+ OTG mirco usb card reader] Inateck 3-Port Hub USB3.0 Compact bus-powered with SDXC SDHC SD Card Reader Combo Special for laptops, Ultrabooks and Tablet PCs with 5 Pin Micro Interface - suitable for transferring Smartphones with data for OTG function (Electronics) Simple, effective and not (too) expensiveMaggi THE ONE Type: 104 Snow chains, 2 rooms (Automotive) effective and easy 1VENTEO DRAIN01 Déboucheur universal line (Tools & Accessories) Simple, effective and cheap! 5Braun razors and clippers cruZer4 Face 2-in-1 (Health and Beauty) Super product against fleas - effective and easy to handleQuiko 077,498 Ardap Fogger - vermin nebulizer for 2 rooms to 30 sqm, 2 x 100 ml (Misc.) Simple, compact and easy to handleMagnat PowerCore Two - 2 channel amplifier (optional) Simple, effective and reliableSuper Stand display stand (equipment)