{"id":1961,"date":"2020-02-09T00:11:50","date_gmt":"2020-02-09T08:11:50","guid":{"rendered":"https:\/\/doubleecpu.com\/?page_id=1961"},"modified":"2020-02-23T17:26:48","modified_gmt":"2020-02-24T01:26:48","slug":"oled-lcd-display","status":"publish","type":"page","link":"https:\/\/doubleecpu.com\/index.php\/oled-lcd-display\/","title":{"rendered":"OLED LCD Display"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">128X64 I2C White Text Display<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Libraries Needed for Arduino Uno<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">SSD1306 <\/h4>\n\n\n\n<p>The library with the code base for the OLED driver can be installed using the Tools-&gt;Manage Libraries to open the Library Manager. This instruction will use the Adafruit SSD1306 version 2.1.0  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1183\" height=\"246\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2020\/02\/image.png\" alt=\"\" class=\"wp-image-1962\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">GFX<\/h4>\n\n\n\n<p>The Adafruit GFX Library is used by SSD1306 Library. The version installed for this instruction was 1.7.5 <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1177\" height=\"245\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2020\/02\/image-1.png\" alt=\"\" class=\"wp-image-1963\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Creating  Image files to display on OLED<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">File Format<\/h4>\n\n\n\n<p>The File should be monochrome 8bit .bmp file. The bits will need to be stored in a matrix file, either 8 bit binary or hexadecimal. <\/p>\n\n\n\n<p>[0b00001111, 0b11111111, 0b111111000, &#8230;.<\/p>\n\n\n\n<p>[0x0F, 0xFF,0xFB<\/p>\n\n\n\n<p>The matrix can be stored in a separate file . For this example we will store it as myLogo.h<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/gilmedel\/69fb2502a5e6475a0c3ea23aa10d961d.js\"><\/script> \n\n\n\n<p>Use the display functions to create text messages<\/p>\n\n\n\n<p>separate the functions into different file for easy maintenance and re-usability.  <\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2020\/02\/video-d6330d5e1bf36ac73a2dda7e21d85db9-V-1.mp4\"><\/video><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>128X64 I2C White Text Display Libraries Needed for Arduino Uno SSD1306 The library with the code base for the OLED driver can be installed using the Tools-&gt;Manage Libraries to open the Library Manager. This instruction will use the Adafruit SSD1306 version 2.1.0 GFX The Adafruit GFX Library is used by SSD1306 Library. The version installed &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/doubleecpu.com\/index.php\/oled-lcd-display\/\" class=\"more-link\">Read more<span class=\"screen-reader-text\"> &#8220;OLED LCD Display&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1961","page","type-page","status-publish","hentry"],"featured_media_urls":[],"_links":{"self":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/1961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/comments?post=1961"}],"version-history":[{"count":0,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/1961\/revisions"}],"wp:attachment":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/media?parent=1961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}