Search in The Electromania's Blog

Monday 23 November 2015

Arduino Due and OLED Display using U8GLIB library in SPI mode


Getting started with 0.96 Inch 128x64 White SPI OLED Display Module from Banggood using U8GLIB library on Arduino Due.


Thanks to 32bit microcontroller of Arduino Due, the rendering of animation is superfast, compared to previous 8bit Arduino board versions.



U8GLIB  Universal 8bit Graphics Library https://github.com/olikraus/u8glib/ 

Sketch/code for above quick project is available on my GitHub page here
 
//I used following pin connections, you can use any other free pins of your board but make sure to use same pin numbering while calling the constructor in main code.
// 13 - SCL    or   CLK   13
// 11 - SDA    or   MOSI  
// 8  - RES     or   RESET 8
// 7  - DC       or   DC    7
// 10 - keep open

// U8GLIB_SSD1306_128X64 u8g(13, 11, 10, 9, 8);    //constructor used to call display



Display purchased from banggood.com
http://eu.banggood.com/Wholesale-Warehouse-0_96-Inch-White-IIC-I2C-OLED-Display-Module-12864-LED-For-Arduino-wp-Uk-932606.html

1 comment:

  1. I am very happy to discover your post as it will become on top in my collection of favorite blogs to visit. transparent OLED display for sale

    ReplyDelete

Contact me for more information...

Contact Electromania

Name

Email *

Message *