{"id":20356,"date":"2021-02-17T08:18:12","date_gmt":"2021-02-17T08:18:12","guid":{"rendered":"https:\/\/electropeak.com\/learn\/?p=20356"},"modified":"2023-12-20T07:44:05","modified_gmt":"2023-12-20T07:44:05","slug":"interfacing-128x64-graphical-lcd-display-with-arduino","status":"publish","type":"post","link":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/","title":{"rendered":"Interfacing 128&#215;64 Graphical LCD Display with Arduino"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"20356\" class=\"elementor elementor-20356\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-50b7c82 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"50b7c82\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-69ec904\" data-id=\"69ec904\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4b85b9ae elementor-widget elementor-widget-heading\" data-id=\"4b85b9ae\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">128x64 Graphical LCD Display Features <\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3563adec elementor-widget elementor-widget-text-editor\" data-id=\"3563adec\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Ordinary LCDs can only display simple text or numbers within a fixed size. But in 128&#215;64 graphical LCD display, there is 128&#215;64 = 8192 dots, which is equivalent to&nbsp;<span style=\"letter-spacing: 0px;\">8192<\/span><span style=\"letter-spacing: 0px;\">&nbsp;pixels. So, it can display not only simple text or numbers within a fixed size but also simple graphics.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-240cdc19 elementor-widget elementor-widget-image\" data-id=\"240cdc19\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"128x64-Blue-Graphical-LCD-1\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjA4ODMsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wMlwvMTI4eDY0LUJsdWUtR3JhcGhpY2FsLUxDRC0xLmpwZyJ9\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"607\" height=\"600\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-1.jpg\" class=\"attachment-large size-large wp-image-20883\" alt=\"128x64 Graphical LCD Display\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-1.jpg 607w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-1-405x400.jpg 405w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-76382b58 elementor-widget elementor-widget-heading\" data-id=\"76382b58\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">128x64 Graphical LCD Display Pinout<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6298cc16 elementor-widget elementor-widget-text-editor\" data-id=\"6298cc16\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This module has 20 pins:<\/p><ul><li><strong>GND<\/strong>: Ground<\/li><li><strong>VCC<\/strong>: Module power supply \u2013 5 V<\/li><li><strong>VO<\/strong>: LCD Contrast<\/li><li><strong>RS<\/strong>: Register Select Pin<\/li><li><strong>R\/W: <\/strong>Write\/ Read selection<\/li><li><strong>E: <\/strong>Enable Signal<\/li><li><strong>D0-7: <\/strong>Data Bus<\/li><li><strong>PSB: <\/strong>Interface selection (0 for serial communication, 1 for 8-bit parallel communication)<\/li><li><strong>NC: <\/strong>Not Connected<\/li><li><strong>RST: <\/strong>Reset<\/li><li><strong>Vout: <\/strong>LCD Voltage Output (Vout &lt; 7V)<\/li><li><strong>BLA: <\/strong>Power Supply for Backlight+<\/li><li><strong>BLK: <\/strong>Power Supply for Backlight-<\/li><\/ul><p>You can see the pinout of this module in the image below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5721133a elementor-widget elementor-widget-image\" data-id=\"5721133a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Pin.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"128x64-Blue-Graphical-LCD-Pin\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjA4ODQsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wMlwvMTI4eDY0LUJsdWUtR3JhcGhpY2FsLUxDRC1QaW4uanBnIn0%3D\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Pin.jpg\" class=\"attachment-large size-large wp-image-20884\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Pin.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Pin-533x400.jpg 533w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Pin-400x300.jpg 400w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Pin-768x576.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6beb52eb elementor-widget elementor-widget-heading\" data-id=\"6beb52eb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Required Material <\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-75f9b55c elementor-widget elementor-widget-image\" data-id=\"75f9b55c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Required-Materials-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"128x64-Blue-Graphical-LCD-Required-Materials\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6Mjg2NTEsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wMlwvMTI4eDY0LUJsdWUtR3JhcGhpY2FsLUxDRC1SZXF1aXJlZC1NYXRlcmlhbHMtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"600\" height=\"500\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Required-Materials-1.jpg\" class=\"attachment-large size-large wp-image-28651\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Required-Materials-1.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Required-Materials-1-480x400.jpg 480w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7f48af0b elementor-widget elementor-widget-heading\" data-id=\"7f48af0b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Hardware component\t<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-78b3ad2a elementor-widget elementor-widget-html\" data-id=\"78b3ad2a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"70%\">Arduino Uno R3 \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/electropeak.com\/arduino-uno-r3-original\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">128x64 Graphical LCD Display - Blue Backlight\r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/electropeak.com\/128x64-graphical-lcd-display-blue-backlight\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">128x64 Graphical LCD Display - Green Backlight\r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/electropeak.com\/128x64-green-graphical-lcd\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">Male to Female jumper wire \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/electropeak.com\/30cm-40p-male-to-female-jumper-wire\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">potentiometer 10k \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/electropeak.com\/10k-ohm-horizontal-potentiometer-103-10-pcs\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6254929d elementor-widget elementor-widget-heading\" data-id=\"6254929d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Software Apps<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-557431f7 elementor-widget elementor-widget-html\" data-id=\"557431f7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"90%\">Arduino IDE<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" target=\"_blank\"><i class=\"fa fa-info\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n\r\n\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ee5b70e elementor-widget elementor-widget-heading\" data-id=\"ee5b70e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Interfacing 128x64 Graphical LCD Display with Arduino<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-40117c72 elementor-widget elementor-widget-heading\" data-id=\"40117c72\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Step 1: Circuit<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-15ef2a3f elementor-widget elementor-widget-text-editor\" data-id=\"15ef2a3f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The following circuit shows how you should connect Arduino to the Display. Connect wires accordingly.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-932548b elementor-widget elementor-widget-image\" data-id=\"932548b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-circuit-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"128x64-Blue-Graphical-LCD-circuit\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6Mjg2NTIsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wMlwvMTI4eDY0LUJsdWUtR3JhcGhpY2FsLUxDRC1jaXJjdWl0LTEuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-circuit-1.jpg\" class=\"attachment-large size-large wp-image-28652\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-circuit-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-circuit-1-533x400.jpg 533w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-circuit-1-768x576.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-20adcbcb elementor-widget elementor-widget-heading\" data-id=\"20adcbcb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Step 2: Library<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3c2ef634 elementor-widget elementor-widget-text-editor\" data-id=\"3c2ef634\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Download the <strong>u8glib<\/strong> library\u00a0<a style=\"letter-spacing: 0px; color: #d53e67; text-decoration-line: underline; background-color: #ffffff;\" href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/u8glib_arduino_v1.18.1.zip\">here<\/a><span style=\"letter-spacing: 0px;\">. Then go to the <\/span><strong style=\"letter-spacing: 0px;\">Include Library<\/strong><span style=\"letter-spacing: 0px;\"> and install it.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1cc2f364 elementor-widget elementor-widget-image\" data-id=\"1cc2f364\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Library.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"128x64-Blue-Graphical-LCD-Library\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjA4ODcsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wMlwvMTI4eDY0LUJsdWUtR3JhcGhpY2FsLUxDRC1MaWJyYXJ5LmpwZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"619\" height=\"375\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Library.jpg\" class=\"attachment-large size-large wp-image-20887\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Library.jpg 619w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/02\/128x64-Blue-Graphical-LCD-Library-600x363.jpg 600w\" sizes=\"(max-width: 619px) 100vw, 619px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-3b779b0f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3b779b0f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-e50f189\" data-id=\"e50f189\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5152bc84 elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"5152bc84\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"far fa-lightbulb\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-76630f12 elementor-widget elementor-widget-heading\" data-id=\"76630f12\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Tip<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-73eab753 elementor-widget elementor-widget-text-editor\" data-id=\"73eab753\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>If you need more help with installing a library on Arduino, read this tutorial:\u00a0<a href=\"https:\/\/electropeak.com\/learn\/how-to-install-an-arduino-library\/\"><em>How to Install an Arduino Library<\/em><\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-40d74942 elementor-widget elementor-widget-heading\" data-id=\"40d74942\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Step 3: Code<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-720f0ed2 elementor-widget elementor-widget-text-editor\" data-id=\"720f0ed2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Upload the following code to your Arduino. After that, open Serial Monitor.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-14cd72ea elementor-widget elementor-widget-html\" data-id=\"14cd72ea\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre class=\"line-numbers lang-arduino\"><code>    \/*\r\nModified on Dec 2, 2020\r\nModified by MehranMaleki from Arduino Examples\r\nhttps:\/\/electropeak.com\/learn\/\r\n*\/\r\n\r\n\r\n\r\n\/*\r\n\r\n  GraphicsTest.pde\r\n  \r\n  &gt;&gt;&gt; Before compiling: Please remove comment from the constructor of the \r\n  &gt;&gt;&gt; connected graphics display (see below).\r\n  \r\n  Universal 8bit Graphics Library, https:\/\/github.com\/olikraus\/u8glib\/\r\n  \r\n  Copyright (c) 2012, olikraus@gmail.com\r\n  All rights reserved.\r\n\r\n  Redistribution and use in source and binary forms, with or without modification, \r\n  are permitted provided that the following conditions are met:\r\n\r\n  * Redistributions of source code must retain the above copyright notice, this list \r\n    of conditions and the following disclaimer.\r\n    \r\n  * Redistributions in binary form must reproduce the above copyright notice, this \r\n    list of conditions and the following disclaimer in the documentation and\/or other \r\n    materials provided with the distribution.\r\n\r\n  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND \r\n  CONTRIBUTORS &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, \r\n  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF \r\n  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE \r\n  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR \r\n  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, \r\n  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT \r\n  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; \r\n  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER \r\n  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, \r\n  STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \r\n  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF \r\n  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  \r\n\r\n\r\n*\/\r\n\r\n\r\n#include &quot;U8glib.h&quot;\r\n\r\n\/\/ setup u8g object, please remove comment from one of the following constructor calls\r\n\/\/ IMPORTANT NOTE: The following list is incomplete. The complete list of supported \r\n\/\/ devices with all constructor calls is here: https:\/\/github.com\/olikraus\/u8glib\/wiki\/device\r\n\/\/U8GLIB_NHD27OLED_BW u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_NHD27OLED_2X_BW u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_NHD27OLED_GR u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_NHD27OLED_2X_GR u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_NHD31OLED_BW u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_NHD31OLED_2X_BW u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_NHD31OLED_GR u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_NHD31OLED_2X_GR u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_DOGS102 u8g(13, 11, 10, 9, 8);\t\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_DOGM132 u8g(13, 11, 10, 9);\t\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_DOGM128 u8g(13, 11, 10, 9);\t\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_DOGM128_2X u8g(13, 11, 10, 9);\t\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\nU8GLIB_ST7920_128X64_4X u8g(10);\r\n\/\/U8GLIB_ST7920_128X64_1X u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 17, 16);   \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16\r\n\/\/U8GLIB_ST7920_128X64_4X u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 17, 16);   \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16\r\n\/\/U8GLIB_ST7920_128X64_1X u8g(18, 16, 17);\t\/\/ SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17\r\n\/\/U8GLIB_ST7920_128X64_4X u8g(18, 16, 17);\t\/\/ SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17\r\n\/\/U8GLIB_ST7920_192X32_1X u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 17, 16);   \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16\r\n\/\/U8GLIB_ST7920_192X32_4X u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 17, 16);   \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16\r\n\/\/U8GLIB_ST7920_192X32_1X u8g(18, 16, 17);\t\/\/ SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17\r\n\/\/U8GLIB_ST7920_192X32_4X u8g(18, 16, 17);\t\/\/ SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17\r\n\/\/U8GLIB_ST7920_192X32_1X u8g(13, 11, 10);\t\/\/ SPI Com: SCK = en = 13, MOSI = rw = 11, CS = di = 10\r\n\/\/U8GLIB_ST7920_192X32_4X u8g(10);\t\t\/\/ SPI Com: SCK = en = 13, MOSI = rw = 11, CS = di = 10, HW SPI\r\n\/\/U8GLIB_ST7920_202X32_1X u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 17, 16);   \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16\r\n\/\/U8GLIB_ST7920_202X32_4X u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 17, 16);   \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16\r\n\/\/U8GLIB_ST7920_202X32_1X u8g(18, 16, 17);\t\/\/ SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17\r\n\/\/U8GLIB_ST7920_202X32_4X u8g(18, 16, 17);\t\/\/ SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17\r\n\/\/U8GLIB_LM6059 u8g(13, 11, 10, 9);\t\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_LM6063 u8g(13, 11, 10, 9);\t\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_DOGXL160_BW u8g(10, 9);\t\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_DOGXL160_GR u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_DOGXL160_2X_BW u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_DOGXL160_2X_GR u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_PCD8544 u8g(13, 11, 10, 9, 8);\t\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, Reset = 8\r\n\/\/U8GLIB_PCF8812 u8g(13, 11, 10, 9, 8);\t\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, Reset = 8\r\n\/\/U8GLIB_KS0108_128 u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 14, 15, 17, 16); \t\t\/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs1=14, cs2=15,di=17,rw=16\r\n\/\/U8GLIB_LC7981_160X80 u8g(8, 9, 10, 11, 4, 5, 6, 7,  18, 14, 15, 17, 16); \t\/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs=14 ,di=15,rw=17, reset = 16\r\n\/\/U8GLIB_LC7981_240X64 u8g(8, 9, 10, 11, 4, 5, 6, 7,  18, 14, 15, 17, 16); \t\/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs=14 ,di=15,rw=17, reset = 16\r\n\/\/U8GLIB_LC7981_240X128 u8g(8, 9, 10, 11, 4, 5, 6, 7,  18, 14, 15, 17, 16); \t\/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs=14 ,di=15,rw=17, reset = 16\r\n\/\/U8GLIB_ILI9325D_320x240 u8g(18,17,19,U8G_PIN_NONE,16 );  \t\t\t\/\/ 8Bit Com: D0..D7: 0,1,2,3,4,5,6,7 en=wr=18, cs=17, rs=19, rd=U8G_PIN_NONE, reset = 16\r\n\/\/U8GLIB_SBN1661_122X32 u8g(8,9,10,11,4,5,6,7,14,15, 17, U8G_PIN_NONE, 16); \t\/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 cs1=14, cs2=15,di=17,rw=16,reset = 16\r\n\/\/U8GLIB_SSD1306_128X64 u8g(13, 11, 10, 9, 8);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_SSD1306_128X64 u8g(4, 5, 6, 7);\t\/\/ SW SPI Com: SCK = 4, MOSI = 5, CS = 6, A0 = 7 (new white HalTec OLED)\r\n\/\/U8GLIB_SSD1306_128X64 u8g(10, 9);\t\t\/\/ HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are  SCK = 13 and MOSI = 11)\r\n\/\/U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE|U8G_I2C_OPT_DEV_0);\t\/\/ I2C \/ TWI \r\n\/\/U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_NO_ACK|U8G_I2C_OPT_FAST);\t\/\/ Fast I2C \/ TWI \r\n\/\/U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NO_ACK);\t\/\/ Display which does not send AC\r\n\/\/U8GLIB_SSD1306_ADAFRUIT_128X64 u8g(13, 11, 10, 9);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_SSD1306_ADAFRUIT_128X64 u8g(10, 9);\t\t\/\/ HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are  SCK = 13 and MOSI = 11)\r\n\/\/U8GLIB_SSD1306_128X32 u8g(13, 11, 10, 9);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_SSD1306_128X32 u8g(10, 9);             \/\/ HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are  SCK = 13 and MOSI = 11)\r\n\/\/U8GLIB_SSD1306_128X32 u8g(U8G_I2C_OPT_NONE);\t\/\/ I2C \/ TWI \r\n\/\/U8GLIB_SSD1306_64X48 u8g(13, 11, 10, 9);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_SSD1306_64X48 u8g(10, 9);             \/\/ HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are  SCK = 13 and MOSI = 11)\r\n\/\/U8GLIB_SSD1306_64X48 u8g(U8G_I2C_OPT_NONE);\t\/\/ I2C \/ TWI \r\n\/\/U8GLIB_SH1106_128X64 u8g(13, 11, 10, 9);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_SH1106_128X64 u8g(4, 5, 6, 7);\t\/\/ SW SPI Com: SCK = 4, MOSI = 5, CS = 6, A0 = 7 (new blue HalTec OLED)\r\n\/\/U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_NONE);\t\/\/ I2C \/ TWI \r\n\/\/U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_FAST);\t\/\/ Dev 0, Fast I2C \/ TWI\r\n\/\/U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_NO_ACK);\t\/\/ Display which does not send ACK\r\n\/\/U8GLIB_SSD1309_128X64 u8g(13, 11, 10, 9);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_SSD1327_96X96_GR u8g(U8G_I2C_OPT_NONE);\t\/\/ I2C\r\n\/\/U8GLIB_SSD1327_96X96_2X_GR u8g(U8G_I2C_OPT_NONE);\t\/\/ I2C\r\n\/\/U8GLIB_UC1611_DOGM240 u8g(U8G_I2C_OPT_NONE);\t\/\/ I2C\r\n\/\/U8GLIB_UC1611_DOGM240 u8g(13, 11, 10, 9);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_UC1611_DOGM240 u8g(10, 9);\t\t\/\/ HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are  SCK = 13 and MOSI = 11)\r\n\/\/U8GLIB_UC1611_DOGM240 u8g(10, 9);\t\t\/\/ HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are  SCK = 13 and MOSI = 11)\r\n\/\/U8GLIB_UC1611_DOGM240 u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 3, 17, 16);   \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs=3, di\/a0=17,rw=16\r\n\/\/U8GLIB_UC1611_DOGXL240 u8g(U8G_I2C_OPT_NONE);\t\/\/ I2C\r\n\/\/U8GLIB_UC1611_DOGXL240 u8g(13, 11, 10, 9);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9\r\n\/\/U8GLIB_UC1611_DOGXL240 u8g(10, 9);\t\t\/\/ HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are  SCK = 13 and MOSI = 11)\r\n\/\/U8GLIB_UC1611_DOGXL240 u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 3, 17, 16);   \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs=3, di\/a0=17,rw=16\r\n\/\/U8GLIB_NHD_C12864 u8g(13, 11, 10, 9, 8);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_NHD_C12832 u8g(13, 11, 10, 9, 8);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_LD7032_60x32 u8g(13, 11, 10, 9, 8);\t\/\/ SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_LD7032_60x32 u8g(11, 12, 9, 10, 8);\t\/\/ SPI Com: SCK = 11, MOSI = 12, CS = 9, A0 = 10, RST = 8  (SW SPI Nano Board)\r\n\/\/U8GLIB_UC1608_240X64 u8g(13, 11, 10, 9, 8);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_UC1608_240X64_2X u8g(13, 11, 10, 9, 8);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_UC1608_240X64 u8g(10, 9, 8);\t\/\/ HW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_UC1608_240X64_2X u8g(10, 9, 8);\t\/\/ HW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_UC1608_240X u8g(13, 11, 10, 9, 8);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_UC1608_240X64_2X u8g(13, 11, 10, 9, 8);\t\/\/ SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_UC1608_240X64 u8g(10, 9, 8);\t\/\/ HW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_UC1608_240X64_2X u8g(10, 9, 8);\t\/\/ HW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, RST = 8\r\n\/\/U8GLIB_T6963_240X128 u8g(8, 9, 10, 11, 4, 5, 6, 7, 14, 15, 17, 18, 16); \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7, cs=14, a0=15, wr=17, rd=18, reset=16\r\n\/\/U8GLIB_T6963_128X128 u8g(8, 9, 10, 11, 4, 5, 6, 7, 14, 15, 17, 18, 16); \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7, cs=14, a0=15, wr=17, rd=18, reset=16\r\n\/\/U8GLIB_T6963_240X64 u8g(8, 9, 10, 11, 4, 5, 6, 7, 14, 15, 17, 18, 16); \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7, cs=14, a0=15, wr=17, rd=18, reset=16\r\n\/\/U8GLIB_T6963_128X64 u8g(8, 9, 10, 11, 4, 5, 6, 7, 14, 15, 17, 18, 16); \/\/ 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7, cs=14, a0=15, wr=17, rd=18, reset=16\r\n\/\/U8GLIB_HT1632_24X16 u8g(3, 2, 4);\t\t\/\/ WR = 3, DATA = 2, CS = 4\r\n\/\/U8GLIB_SSD1351_128X128_332 u8g(13, 11, 8, 9, 7); \/\/ Arduino UNO: SW SPI Com: SCK = 13, MOSI = 11, CS = 8, A0 = 9, RESET = 7 (http:\/\/electronics.ilsoft.co.uk\/ArduinoShield.aspx)\r\n\/\/U8GLIB_SSD1351_128X128_332 u8g(76, 75, 8, 9, 7); \/\/ Arduino DUE: SW SPI Com: SCK = 13, MOSI = 11, CS = 8, A0 = 9, RESET = 7 (http:\/\/electronics.ilsoft.co.uk\/ArduinoShield.aspx)\r\n\/\/U8GLIB_SSD1351_128X128_332 u8g(8, 9, 7); \/\/ Arduino: HW SPI Com: SCK = 13, MOSI = 11, CS = 8, A0 = 9, RESET = 7 (http:\/\/electronics.ilsoft.co.uk\/ArduinoShield.aspx)\r\n\/\/U8GLIB_SSD1351_128X128_HICOLOR u8g(76, 75, 8, 9, 7); \/\/ Arduino DUE, SW SPI Com: SCK = 76, MOSI = 75, CS = 8, A0 = 9, RESET = 7 (http:\/\/electronics.ilsoft.co.uk\/ArduinoShield.aspx)\r\n\/\/U8GLIB_SSD1351_128X128_HICOLOR u8g(8, 9, 7); \/\/ Arduino, HW SPI Com: SCK = 76, MOSI = 75, CS = 8, A0 = 9, RESET = 7 (http:\/\/electronics.ilsoft.co.uk\/ArduinoShield.aspx)\r\n\/\/U8GLIB_SSD1351_128X128GH_332 u8g(8, 9, 7); \/\/ Arduino, HW SPI Com: SCK = 76, MOSI = 75, CS = 8, A0 = 9, RESET = 7 (Freetronics OLED)\r\n\/\/U8GLIB_SSD1351_128X128GH_HICOLOR u8g(8, 9, 7); \/\/ Arduino, HW SPI Com: SCK = 76, MOSI = 75, CS = 8, A0 = 9, RESET = 7 (Freetronics OLED)\r\n\r\nvoid u8g_prepare(void) {\r\n  u8g.setFont(u8g_font_6x10);\r\n  u8g.setFontRefHeightExtendedText();\r\n  u8g.setDefaultForegroundColor();\r\n  u8g.setFontPosTop();\r\n}\r\n\r\nvoid u8g_box_frame(uint8_t a) {\r\n  u8g.drawStr( 0, 0, &quot;drawBox&quot;);\r\n  u8g.drawBox(5,10,20,10);\r\n  u8g.drawBox(10+a,15,30,7);\r\n  u8g.drawStr( 0, 30, &quot;drawFrame&quot;);\r\n  u8g.drawFrame(5,10+30,20,10);\r\n  u8g.drawFrame(10+a,15+30,30,7);\r\n}\r\n\r\nvoid u8g_disc_circle(uint8_t a) {\r\n  u8g.drawStr( 0, 0, &quot;drawDisc&quot;);\r\n  u8g.drawDisc(10,18,9);\r\n  u8g.drawDisc(24+a,16,7);\r\n  u8g.drawStr( 0, 30, &quot;drawCircle&quot;);\r\n  u8g.drawCircle(10,18+30,9);\r\n  u8g.drawCircle(24+a,16+30,7);\r\n}\r\n\r\nvoid u8g_r_frame(uint8_t a) {\r\n  u8g.drawStr( 0, 0, &quot;drawRFrame\/Box&quot;);\r\n  u8g.drawRFrame(5, 10,40,30, a+1);\r\n  u8g.drawRBox(50, 10,25,40, a+1);\r\n}\r\n\r\nvoid u8g_string(uint8_t a) {\r\n  u8g.drawStr(30+a,31, &quot; 0&quot;);\r\n  u8g.drawStr90(30,31+a, &quot; 90&quot;);\r\n  u8g.drawStr180(30-a,31, &quot; 180&quot;);\r\n  u8g.drawStr270(30,31-a, &quot; 270&quot;);\r\n}\r\n\r\nvoid u8g_line(uint8_t a) {\r\n  u8g.drawStr( 0, 0, &quot;drawLine&quot;);\r\n  u8g.drawLine(7+a, 10, 40, 55);\r\n  u8g.drawLine(7+a*2, 10, 60, 55);\r\n  u8g.drawLine(7+a*3, 10, 80, 55);\r\n  u8g.drawLine(7+a*4, 10, 100, 55);\r\n}\r\n\r\nvoid u8g_triangle(uint8_t a) {\r\n  uint16_t offset = a;\r\n  u8g.drawStr( 0, 0, &quot;drawTriangle&quot;);\r\n  u8g.drawTriangle(14,7, 45,30, 10,40);\r\n  u8g.drawTriangle(14+offset,7-offset, 45+offset,30-offset, 57+offset,10-offset);\r\n  u8g.drawTriangle(57+offset*2,10, 45+offset*2,30, 86+offset*2,53);\r\n  u8g.drawTriangle(10+offset,40+offset, 45+offset,30+offset, 86+offset,53+offset);\r\n}\r\n\r\nvoid u8g_ascii_1() {\r\n  char s[2] = &quot; &quot;;\r\n  uint8_t x, y;\r\n  u8g.drawStr( 0, 0, &quot;ASCII page 1&quot;);\r\n  for( y = 0; y &lt; 6; y++ ) {\r\n    for( x = 0; x &lt; 16; x++ ) {\r\n      s[0] = y*16 + x + 32;\r\n      u8g.drawStr(x*7, y*10+10, s);\r\n    }\r\n  }\r\n}\r\n\r\nvoid u8g_ascii_2() {\r\n  char s[2] = &quot; &quot;;\r\n  uint8_t x, y;\r\n  u8g.drawStr( 0, 0, &quot;ASCII page 2&quot;);\r\n  for( y = 0; y &lt; 6; y++ ) {\r\n    for( x = 0; x &lt; 16; x++ ) {\r\n      s[0] = y*16 + x + 160;\r\n      u8g.drawStr(x*7, y*10+10, s);\r\n    }\r\n  }\r\n}\r\n\r\nvoid u8g_extra_page(uint8_t a)\r\n{\r\n  if ( u8g.getMode() == U8G_MODE_HICOLOR || u8g.getMode() == U8G_MODE_R3G3B2) {\r\n    \/* draw background (area is 128x128) *\/\r\n    u8g_uint_t r, g, b;\r\n    b = a &lt;&lt; 5;\r\n    for( g = 0; g &lt; 64; g++ )\r\n    {\r\n      for( r = 0; r &lt; 64; r++ )\r\n      {\r\n\tu8g.setRGB(r&lt;&lt;2, g&lt;&lt;2, b );\r\n\tu8g.drawPixel(g, r);\r\n      }\r\n    }\r\n    u8g.setRGB(255,255,255);\r\n    u8g.drawStr( 66, 0, &quot;Color Page&quot;);\r\n  }\r\n  else if ( u8g.getMode() == U8G_MODE_GRAY2BIT )\r\n  {\r\n    u8g.drawStr( 66, 0, &quot;Gray Level&quot;);\r\n    u8g.setColorIndex(1);\r\n    u8g.drawBox(0, 4, 64, 32);    \r\n    u8g.drawBox(70, 20, 4, 12);\r\n    u8g.setColorIndex(2);\r\n    u8g.drawBox(0+1*a, 4+1*a, 64-2*a, 32-2*a);\r\n    u8g.drawBox(74, 20, 4, 12);\r\n    u8g.setColorIndex(3);\r\n    u8g.drawBox(0+2*a, 4+2*a, 64-4*a, 32-4*a);\r\n    u8g.drawBox(78, 20, 4, 12);\r\n  }\r\n  else\r\n  {\r\n    u8g.drawStr( 0, 12, &quot;setScale2x2&quot;);\r\n    u8g.setScale2x2();\r\n    u8g.drawStr( 0, 6+a, &quot;setScale2x2&quot;);\r\n    u8g.undoScale();\r\n  }\r\n}\r\n\r\n\r\nuint8_t draw_state = 0;\r\n\r\nvoid draw(void) {\r\n  u8g_prepare();\r\n  switch(draw_state &gt;&gt; 3) {\r\n    case 0: u8g_box_frame(draw_state&amp;7); break;\r\n    case 1: u8g_disc_circle(draw_state&amp;7); break;\r\n    case 2: u8g_r_frame(draw_state&amp;7); break;\r\n    case 3: u8g_string(draw_state&amp;7); break;\r\n    case 4: u8g_line(draw_state&amp;7); break;\r\n    case 5: u8g_triangle(draw_state&amp;7); break;\r\n    case 6: u8g_ascii_1(); break;\r\n    case 7: u8g_ascii_2(); break;\r\n    case 8: u8g_extra_page(draw_state&amp;7); break;\r\n  }\r\n}\r\n\r\nvoid setup(void) {\r\n\r\n  \/\/ flip screen, if required\r\n  \/\/u8g.setRot180();\r\n\r\n#if defined(ARDUINO)\r\n  pinMode(13, OUTPUT);           \r\n  digitalWrite(13, HIGH);  \r\n#endif\r\n}\r\n\r\nvoid loop(void) {\r\n  \r\n  \/\/ picture loop  \r\n  u8g.firstPage();  \r\n  do {\r\n    draw();\r\n  } while( u8g.nextPage() );\r\n  \r\n  \/\/ increase the state\r\n  draw_state++;\r\n  if ( draw_state &gt;= 9*8 )\r\n    draw_state = 0;\r\n  \r\n  \/\/ rebuild the picture after some delay\r\n  \/\/delay(150);\r\n\r\n}\r\n<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7f523d42 elementor-widget elementor-widget-text-editor\" data-id=\"7f523d42\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In the above code, which is an example of Arduino, after installing the relevant library, we first need to uncomment the line that is related to the specific LCD settings (line 66, U8GLIB_ST7920_128X64_4X u8g (10);). Then upload the code to Arduino.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>128&#215;64 Graphical LCD Display Features Ordinary LCDs can only display simple text or numbers within a fixed size. But in 128&#215;64 graphical LCD display, there is 128&#215;64 = 8192 dots, which is equivalent to&nbsp;8192&nbsp;pixels. So, it can display not only simple text or numbers within a fixed size but also simple graphics. 128&#215;64 Graphical LCD [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":20882,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[935],"tags":[4426],"platform":[1071],"bytype":[1075],"difficulty":[1077],"related_products":[4382,4140],"class_list":["post-20356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lcds-displays","tag-character-lcd","platform-arduino","bytype-hookup-guides","difficulty-beginner","related_products-lcd-01-087","related_products-lcd-01-088"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Interfacing 128x64 Graphical LCD Display- Blue Backlight with Arduino<\/title>\n<meta name=\"description\" content=\"Learn How to interface a 128x64 Graphical LCD Display with Arduino. using 128x64 LCD Display example code, circuit, pinout library\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Interfacing 128x64 Graphical LCD Display- Blue Backlight with Arduino\" \/>\n<meta property=\"og:description\" content=\"Learn How to interface a 128x64 Graphical LCD Display with Arduino. using 128x64 LCD Display example code, circuit, pinout library\" \/>\n<meta property=\"og:url\" content=\"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"Electropeak\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-17T08:18:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-20T07:44:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/128x64-Blue-Graphical-LCD-Teaser.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mehran Maleki\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mehran Maleki\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/\"},\"author\":{\"name\":\"Mehran Maleki\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/person\\\/66714d7ed628304044d2655e23cc2f51\"},\"headline\":\"Interfacing 128&#215;64 Graphical LCD Display with Arduino\",\"datePublished\":\"2021-02-17T08:18:12+00:00\",\"dateModified\":\"2023-12-20T07:44:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/\"},\"wordCount\":291,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/128x64-Blue-Graphical-LCD-Teaser.jpg\",\"keywords\":[\"Character LCD\"],\"articleSection\":[\"LCDs &amp; Displays\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/\",\"name\":\"Interfacing 128x64 Graphical LCD Display- Blue Backlight with Arduino\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/128x64-Blue-Graphical-LCD-Teaser.jpg\",\"datePublished\":\"2021-02-17T08:18:12+00:00\",\"dateModified\":\"2023-12-20T07:44:05+00:00\",\"description\":\"Learn How to interface a 128x64 Graphical LCD Display with Arduino. using 128x64 LCD Display example code, circuit, pinout library\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/#primaryimage\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/128x64-Blue-Graphical-LCD-Teaser.jpg\",\"contentUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/128x64-Blue-Graphical-LCD-Teaser.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-128x64-graphical-lcd-display-with-arduino\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interfacing 128&#215;64 Graphical LCD Display with Arduino\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#website\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/\",\"name\":\"Electropeak\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#organization\",\"name\":\"ElectroPeak\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/logo-electropeak-v3-square.png\",\"contentUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/logo-electropeak-v3-square.png\",\"width\":620,\"height\":620,\"caption\":\"ElectroPeak\"},\"image\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/person\\\/66714d7ed628304044d2655e23cc2f51\",\"name\":\"Mehran Maleki\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g\",\"caption\":\"Mehran Maleki\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Interfacing 128x64 Graphical LCD Display- Blue Backlight with Arduino","description":"Learn How to interface a 128x64 Graphical LCD Display with Arduino. using 128x64 LCD Display example code, circuit, pinout library","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/","og_locale":"en_US","og_type":"article","og_title":"Interfacing 128x64 Graphical LCD Display- Blue Backlight with Arduino","og_description":"Learn How to interface a 128x64 Graphical LCD Display with Arduino. using 128x64 LCD Display example code, circuit, pinout library","og_url":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/","og_site_name":"Electropeak","article_published_time":"2021-02-17T08:18:12+00:00","article_modified_time":"2023-12-20T07:44:05+00:00","og_image":[{"width":1200,"height":900,"url":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/128x64-Blue-Graphical-LCD-Teaser.jpg","type":"image\/jpeg"}],"author":"Mehran Maleki","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mehran Maleki","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/#article","isPartOf":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/"},"author":{"name":"Mehran Maleki","@id":"https:\/\/electropeak.com\/learn\/#\/schema\/person\/66714d7ed628304044d2655e23cc2f51"},"headline":"Interfacing 128&#215;64 Graphical LCD Display with Arduino","datePublished":"2021-02-17T08:18:12+00:00","dateModified":"2023-12-20T07:44:05+00:00","mainEntityOfPage":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/"},"wordCount":291,"commentCount":4,"publisher":{"@id":"https:\/\/electropeak.com\/learn\/#organization"},"image":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/#primaryimage"},"thumbnailUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/128x64-Blue-Graphical-LCD-Teaser.jpg","keywords":["Character LCD"],"articleSection":["LCDs &amp; Displays"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/","url":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/","name":"Interfacing 128x64 Graphical LCD Display- Blue Backlight with Arduino","isPartOf":{"@id":"https:\/\/electropeak.com\/learn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/#primaryimage"},"image":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/#primaryimage"},"thumbnailUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/128x64-Blue-Graphical-LCD-Teaser.jpg","datePublished":"2021-02-17T08:18:12+00:00","dateModified":"2023-12-20T07:44:05+00:00","description":"Learn How to interface a 128x64 Graphical LCD Display with Arduino. using 128x64 LCD Display example code, circuit, pinout library","breadcrumb":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/#primaryimage","url":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/128x64-Blue-Graphical-LCD-Teaser.jpg","contentUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/128x64-Blue-Graphical-LCD-Teaser.jpg","width":1200,"height":900},{"@type":"BreadcrumbList","@id":"https:\/\/electropeak.com\/learn\/interfacing-128x64-graphical-lcd-display-with-arduino\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/electropeak.com\/learn\/"},{"@type":"ListItem","position":2,"name":"Interfacing 128&#215;64 Graphical LCD Display with Arduino"}]},{"@type":"WebSite","@id":"https:\/\/electropeak.com\/learn\/#website","url":"https:\/\/electropeak.com\/learn\/","name":"Electropeak","description":"","publisher":{"@id":"https:\/\/electropeak.com\/learn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/electropeak.com\/learn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/electropeak.com\/learn\/#organization","name":"ElectroPeak","url":"https:\/\/electropeak.com\/learn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/electropeak.com\/learn\/#\/schema\/logo\/image\/","url":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2026\/07\/logo-electropeak-v3-square.png","contentUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2026\/07\/logo-electropeak-v3-square.png","width":620,"height":620,"caption":"ElectroPeak"},"image":{"@id":"https:\/\/electropeak.com\/learn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/electropeak.com\/learn\/#\/schema\/person\/66714d7ed628304044d2655e23cc2f51","name":"Mehran Maleki","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g","caption":"Mehran Maleki"}}]}},"_links":{"self":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts\/20356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/comments?post=20356"}],"version-history":[{"count":21,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts\/20356\/revisions"}],"predecessor-version":[{"id":28980,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts\/20356\/revisions\/28980"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/media\/20882"}],"wp:attachment":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/media?parent=20356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/categories?post=20356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/tags?post=20356"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/platform?post=20356"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/bytype?post=20356"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/difficulty?post=20356"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/related_products?post=20356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}