HOME    PROJECTS    LIBRARIES    RESOURCES    LINKS    CONTACT  
Select category:
Arduino
chipKit
  DS1307
  DS3231
  DS3234
  KeyPad
  LCD5110_Basic
  LCD5110_Graph
  LCD5110_SPIflash
  LEDmatrix7219
  MCP4725
  MGLCD
  OLED_I2C
  OLED_SPIflash
  OLED_StatusIcons
  relay8
  SPIflash
  URTouch
  UTFT
  UTFT_Buttons
  UTFT_Geometry
  UTFT_SPIflash
  WiiChuck
TI LaunchPad

IF YOU LIKE,
and use any of my projects or libraries, and would like to encourage further development you can donate through PayPal here:

Rather donate hardware directly? Then click here.






Library: OLED_I2C

This library has been made to make it easy to use 128x64 pixel OLED displays based on the SSD1306 controller chip with an Arduino or a chipKit.

OLED DisplayOLED DisplayOLED Display

This library will default to I2C Fast Mode (400 KHz) when using the hardware I2C interface.

 IMPORTANT: 

The library has not been tested in combination with the Wire library and I have no idea if they can share pins. Do not send me any questions about this. If you experience problems with pin-sharing you can move the displays SDA and SCL pins to any available pins on your development board. This library will in this case fall back to a software-based, TWI-/I2C-like protocol which will require exclusive access to the pins used.

Download:

OLED_I2C.zip
(Filesize is 400.03 KiB. Downloaded 8946 times)


Some demos showcasing most of the functions are included in the download.
This is a multi-platform library that will work with several different development board types.

Changes:
v1.001 Mar 2015initial release
v1.0107 Mar 2015fixed a bug in the OLED_I2C_3D_Cube example

Demo Video:

CLICK HERE TO VIEW

Nice to know:

If you are using a chipKit Uno32 or uC32 and you want to use the hardware I2C interface you must remember to set the JP6 and JP8 jumpers to the I2C position (closest to the analog pins).

Compatibility:

WorkingchipKit Uno32
WorkingchipKit uC32
WorkingchipKit Max32
Working = Working   Not working: Not working
Not tested, Unsupported = Not tested, Unsupported

Manual:

CLICK HERE TO VIEW
The manual is included in the download

License:

By downloading the library you accept the following license:
Creative Commons BY-NC-SA Logo
Creative Commons (CC BY-NC-SA 3.0)
View SummaryView Legal