{"id":20909,"date":"2021-02-08T17:09:25","date_gmt":"2021-02-08T13:39:25","guid":{"rendered":"https:\/\/thecaferobot.com\/learn\/?p=20909"},"modified":"2024-08-06T09:13:00","modified_gmt":"2024-08-06T04:43:00","slug":"interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino","status":"publish","type":"post","link":"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"20909\" class=\"elementor elementor-20909\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b83e631 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b83e631\" data-element_type=\"section\">\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\r\n\t\t\t\t\t\t\t\t<div class=\"elementor-row\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d87dfd9\" data-id=\"d87dfd9\" data-element_type=\"column\">\r\n\r\n\t\t\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\r\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-142a3a6d elementor-widget elementor-widget-heading\" data-id=\"142a3a6d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686  OLED<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-39de9df1 elementor-widget elementor-widget-text-editor\" data-id=\"39de9df1\" data-element_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<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0647\u0627\u06cc OLED\u060c \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0647\u0627\u06cc\u06cc \u0628\u0627 \u06a9\u0646\u062a\u0631\u0627\u0633\u062a \u0648 \u0631\u0632\u0648\u0644\u0648\u0634\u0646 \u0628\u0627\u0644\u0627 \u0645\u06cc \u0628\u0627\u0634\u0646\u062f\u060c \u0627\u0632 \u0627\u06cc\u0646 \u0631\u0648 \u0642\u0627\u0628\u0644\u06cc\u062a \u062e\u0648\u0627\u0646\u0627\u06cc\u06cc \u0632\u06cc\u0627\u062f\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u00a0\u06a9\u0646\u0646\u062f. \u0627\u06cc\u0646 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631\u0647\u0627 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0646\u0648\u0631 \u067e\u0633 \u0632\u0645\u06cc\u0646\u0647 Backlight \u0646\u062f\u0627\u0631\u0646\u062f \u0648 \u067e\u06cc\u06a9\u0633\u0644 \u0647\u0627 \u062e\u0648\u062f\u0634\u0627\u0646 \u0646\u0648\u0631 \u0627\u0641\u0634\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u0646\u062f \u0648 \u062f\u0631 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0628\u0627 LCD \u0647\u0627\u06cc \u06a9\u0631\u06cc\u0633\u062a\u0627\u0644 \u0645\u0627\u06cc\u0639\u060c \u0628\u0627\u0631\u06cc\u06a9\u062a\u0631 \u0648 \u0634\u0641\u0627\u0641 \u062a\u0631 \u0628\u0648\u062f\u0647 \u0648 \u06a9\u0646\u062a\u0631\u0627\u0633\u062a \u0628\u0627\u0644\u0627\u062a\u0631 \u0648 \u0645\u0635\u0631\u0641 \u062a\u0648\u0627\u0646 \u06a9\u0645\u062a\u0631\u06cc \u062f\u0627\u0631\u0646\u062f. \u0686\u06cc\u067e \u062f\u0631\u0627\u06cc\u0648\u0631 \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 SSD1306 \u0627\u0633\u062a \u06a9\u0647 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 I2C \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc \u0622\u0648\u0631\u062f.<\/p><p>SSD1306 \u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 \u062f\u0631\u0627\u06cc\u0648\u0631 \u0628\u0631\u0627\u06cc \u0635\u0641\u062d\u0647 \u0646\u0645\u0627\u06cc\u0634 \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u0646\u0642\u0637\u0647 \u0645\u0627\u062a\u0631\u06cc\u0633\u06cc \u0645\u06cc \u0628\u0627\u0634\u062f \u0648 \u0628\u0631\u0627\u06cc \u0635\u0641\u062d\u0647 \u0646\u0645\u0627\u06cc\u0634 \u0646\u0648\u0639 \u06a9\u0627\u062a\u062f \u0645\u0634\u062a\u0631\u06a9 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f \u0648 \u062f\u0631 \u062a\u062c\u0647\u06cc\u0632\u0627\u062a \u0642\u0627\u0628\u0644 \u062d\u0645\u0644 \u0645\u0627\u0646\u0646\u062f \u062a\u0644\u0641\u0646 \u0645\u0648\u0628\u0627\u06cc\u0644\u060c MP3 Player\u060c \u0645\u0627\u0634\u06cc\u0646 \u062d\u0633\u0627\u0628 \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u062f\u06cc\u06af\u0631 \u0628\u0647 \u06a9\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\t\t\t\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-73320c55 elementor-widget elementor-widget-image\" data-id=\"73320c55\" data-element_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<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/OLED-0.91INCH-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"OLED-0.91INCH-1.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjA5MTUsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMTJcL09MRUQtMC45MUlOQ0gtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"200\" height=\"200\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/OLED-0.91INCH-1.jpg\" class=\"attachment-large size-large\" alt=\"\u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\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-40f6e996 elementor-widget elementor-widget-text-editor\" data-id=\"40f6e996\" data-element_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<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u062c\u0647\u062a \u062f\u0631\u06cc\u0627\u0641\u062a \u062f\u06cc\u062a\u0627\u0634\u06cc\u062a \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 \u00a0OLED\u0627\u06cc\u0646\u062c\u0627 \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f.<\/p><p><div class='w3eden'><!-- WPDM Link Template: Default Template -->\n\n<div class=\"link-template-default card mb-2\">\n    <div class=\"card-body\">\n        <div class=\"media\">\n            <div class=\"mr-3 img-48\"><img class=\"wpdm_icon\" alt=\"Icon\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/plugins\/download-manager\/assets\/file-type-icons\/pdf.svg\" \/><\/div>\n            <div class=\"media-body\">\n                <h3 class=\"package-title\"><a href='https:\/\/thecaferobot.com\/learn\/download\/0-91-inch-oled-display-datasheet\/'>0.91 INCH OLED DISPLAY Datasheet<\/a><\/h3>\n                <div class=\"text-muted text-small\"><i class=\"fas fa-copy\"><\/i> 1 file(s) <i class=\"fas fa-hdd ml-3\"><\/i> 1.79 MB<\/div>\n            <\/div>\n            <div class=\"ml-3\">\n                <a class='wpdm-download-link download-on-click btn btn-primary ' rel='nofollow' href='#' data-downloadurl=\"https:\/\/thecaferobot.com\/learn\/download\/0-91-inch-oled-display-datasheet\/?wpdmdl=20921&#038;refresh=6a21f5644c1381780610404\">Download<\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<\/div><\/p>\t\t\t\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-33023e99 elementor-widget elementor-widget-heading\" data-id=\"33023e99\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0645\u0639\u0631\u0641\u06cc \u067e\u0627\u06cc\u0647 \u0647\u0627 (Pinout) \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686  OLED<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1cda931a elementor-widget elementor-widget-text-editor\" data-id=\"1cda931a\" data-element_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<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 \u00a0OLED\u062f\u0627\u0631\u0627\u06cc 4 \u067e\u0627\u06cc\u0647 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p><ul><li><strong>VCC<\/strong><strong>:<\/strong> \u062a\u063a\u0630\u06cc\u0647 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u2013 5 \u0648\u0644\u062a<\/li><li><strong>GND<\/strong><strong>:<\/strong> \u0632\u0645\u06cc\u0646<\/li><li><strong>SLC<\/strong>: \u0647\u0645\u0632\u0645\u0627\u0646 \u0633\u0627\u0632\u06cc \u0628\u0631\u0627\u06cc \u067e\u0631\u0648\u062a\u06a9\u0644 I2C<\/li><li><strong>SDA<\/strong>: \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u0631\u0627\u06cc \u067e\u0631\u0648\u062a\u06a9\u0644 I2C<\/li><\/ul><p>\u067e\u06cc\u0646 \u0627\u0648\u062a (Pinout) \u0627\u06cc\u0646 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\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-10cd0f3b elementor-widget elementor-widget-image\" data-id=\"10cd0f3b\" data-element_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<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/OLED-0.91INCH-pin.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"OLED-0.91INCH-pin.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjA5MTYsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMTJcL09MRUQtMC45MUlOQ0gtcGluLmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/OLED-0.91INCH-pin.jpg\" class=\"attachment-large size-large\" alt=\"\u067e\u06cc\u0646 \u0627\u0648\u062a Pinout \u0645\u0627\u0698\u0648\u0644 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\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-37fa4d8d elementor-widget elementor-widget-heading\" data-id=\"37fa4d8d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0644\u0648\u0627\u0632\u0645\u06cc \u06a9\u0647 \u0628\u0647 \u0622\u0646 \u0627\u062d\u062a\u06cc\u0627\u062c \u062f\u0627\u0631\u06cc\u062f<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-15b3f599 elementor-widget elementor-widget-image\" data-id=\"15b3f599\" data-element_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<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/OLED-0.91INCH-Required-Materials.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"OLED-0.91INCH-Required-Materials.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjA5MTcsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMTJcL09MRUQtMC45MUlOQ0gtUmVxdWlyZWQtTWF0ZXJpYWxzLmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"500\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/OLED-0.91INCH-Required-Materials.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\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-78a7b34c elementor-widget elementor-widget-heading\" data-id=\"78a7b34c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u0642\u0637\u0639\u0627\u062a \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 <\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9059a56 elementor-widget elementor-widget-html\" data-id=\"9059a56\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\"><tbody>\r\n\r\n<tr>\r\n\t<td width=\"70%\">\u0622\u0631\u062f\u0648\u06cc\u0646\u0648 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=\"http:\/\/thecaferobot.com\/store\/arduino-uno-r3\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \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:\/\/thecaferobot.com\/store\/128x32-general-0-91inch-oled-display-module-waveshare\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \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:\/\/thecaferobot.com\/store\/arduino-0-91-inch-i2c-oled-module\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0633\u06cc\u0645 \u062c\u0627\u0645\u067e\u0631\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:\/\/thecaferobot.com\/store\/female-male-40p-21cm\" 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<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6efe205a elementor-widget elementor-widget-heading\" data-id=\"6efe205a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9aeedfd elementor-widget elementor-widget-html\" data-id=\"9aeedfd\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\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%\">\u0622\u0631\u062f\u0648\u06cc\u0646\u0648 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<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b02aa46 elementor-widget elementor-widget-heading\" data-id=\"4b02aa46\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-357bf6ec elementor-widget elementor-widget-heading\" data-id=\"357bf6ec\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u0627\u0648\u0644: \u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-475594a1 elementor-widget elementor-widget-text-editor\" data-id=\"475594a1\" data-element_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<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0645\u0637\u0627\u0628\u0642 \u0645\u062f\u0627\u0631 \u0632\u06cc\u0631\u060c \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0631\u0627 \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0648\u0635\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\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-15b1a18f elementor-widget elementor-widget-image\" data-id=\"15b1a18f\" data-element_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<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/OLED-0.91INCH-wire-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"OLED 0.91INCH-wire\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjA5MjQsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMTJcL09MRUQtMC45MUlOQ0gtd2lyZS0xLmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/OLED-0.91INCH-wire-1.jpg\" class=\"attachment-large size-large\" alt=\"\u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc \u0645\u062f\u0627\u0631 \u0627\u062a\u0635\u0627\u0644 OLED \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\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-5fae89f9 elementor-widget elementor-widget-heading\" data-id=\"5fae89f9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u062f\u0648\u0645: \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-67e95967 elementor-widget elementor-widget-text-editor\" data-id=\"67e95967\" data-element_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<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0632\u06cc\u0631 \u0631\u0627\u00a0 \u0628\u0631 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\u06cc \u062e\u0648\u062f \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f.\u00a0<\/p><p><a href=\"https:\/\/github.com\/adafruit\/Adafruit_SSD1306\">https:\/\/github.com\/adafruit\/Adafruit_SSD1306<\/a><\/p><p><a href=\"https:\/\/github.com\/adafruit\/Adafruit-GFX-Library\">https:\/\/github.com\/adafruit\/Adafruit-GFX-Library<\/a><\/p>\t\t\t\t\t<\/div>\n\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-4e6a8ac1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4e6a8ac1\" data-element_type=\"section\">\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\r\n\t\t\t\t\t\t\t\t<div class=\"elementor-row\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-5b37d849\" data-id=\"5b37d849\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\r\n\r\n\t\t\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\r\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-262a0dfc elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"262a0dfc\" data-element_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<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<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-65323eaa elementor-widget elementor-widget-heading\" data-id=\"65323eaa\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">\u062a\u0648\u062c\u0647<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-355e6b7 elementor-widget elementor-widget-text-editor\" data-id=\"355e6b7\" data-element_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<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u06af\u0631 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u0628\u06cc\u0634\u062a\u0631 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0628\u0631 \u0631\u0648\u06cc \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u062f\u0627\u0631\u06cc\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647&nbsp;<a href=\"https:\/\/thecaferobot.com\/learn\/how-to-install-an-arduino-library\/\" target=\"_blank\">\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0628\u0631 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/a>&nbsp;\u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/section>\r\n\t\t\t\t<div class=\"elementor-element elementor-element-7b45d7d5 elementor-widget elementor-widget-heading\" data-id=\"7b45d7d5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u0633\u0648\u0645: \u06a9\u062f<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2484441b elementor-widget elementor-widget-text-editor\" data-id=\"2484441b\" data-element_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<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0631\u0648\u06cc \u0628\u0631\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\u06cc \u062e\u0648\u062f \u0622\u067e\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\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-78db966 elementor-widget elementor-widget-html\" data-id=\"78db966\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<pre class=\"line-numbers lang-arduino\"><code>\/*\r\n  modified on Sep 28, 2020\r\n  Modified by MohammedDamirchi from https:\/\/github.com\/adafruit\/Adafruit_SSD1306\r\n  https:\/\/electropeak.com\/learn\/\r\n*\/\r\n\r\n\/**************************************************************************\r\n This is an example for our Monochrome OLEDs based on SSD1306 drivers\r\n\r\n Pick one up today in the adafruit shop!\r\n ------&gt; http:\/\/www.adafruit.com\/category\/63_98\r\n\r\n This example is for a 128x32 pixel display using I2C to communicate\r\n 3 pins are required to interface (two I2C and one reset).\r\n\r\n Adafruit invests time and resources providing this open\r\n source code, please support Adafruit and open-source\r\n hardware by purchasing products from Adafruit!\r\n\r\n Written by Limor Fried\/Ladyada for Adafruit Industries,\r\n with contributions from the open source community.\r\n BSD license, check license.txt for more information\r\n All text above, and the splash screen below must be\r\n included in any redistribution.\r\n **************************************************************************\/\r\n\r\n#include &lt;SPI.h&gt;\r\n#include &lt;Wire.h&gt;\r\n#include &lt;Adafruit_GFX.h&gt;\r\n#include &lt;Adafruit_SSD1306.h&gt;\r\n\r\n#define SCREEN_WIDTH 128 \/\/ OLED display width, in pixels\r\n#define SCREEN_HEIGHT 32 \/\/ OLED display height, in pixels\r\n\r\n\/\/ Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)\r\n#define OLED_RESET     4 \/\/ Reset pin # (or -1 if sharing Arduino reset pin)\r\nAdafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &amp;Wire, OLED_RESET);\r\n\r\n#define NUMFLAKES     10 \/\/ Number of snowflakes in the animation example\r\n\r\n#define LOGO_HEIGHT   16\r\n#define LOGO_WIDTH    16\r\nstatic const unsigned char PROGMEM logo_bmp[] =\r\n{ B00000000, B11000000,\r\n  B00000001, B11000000,\r\n  B00000001, B11000000,\r\n  B00000011, B11100000,\r\n  B11110011, B11100000,\r\n  B11111110, B11111000,\r\n  B01111110, B11111111,\r\n  B00110011, B10011111,\r\n  B00011111, B11111100,\r\n  B00001101, B01110000,\r\n  B00011011, B10100000,\r\n  B00111111, B11100000,\r\n  B00111111, B11110000,\r\n  B01111100, B11110000,\r\n  B01110000, B01110000,\r\n  B00000000, B00110000 };\r\n\r\nvoid setup() {\r\n  Serial.begin(9600);\r\n\r\n  \/\/ SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally\r\n  if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { \/\/ Address 0x3C for 128x32\r\n    Serial.println(F(&quot;SSD1306 allocation failed&quot;));\r\n    for(;;); \/\/ Don't proceed, loop forever\r\n  }\r\n\r\n  \/\/ Show initial display buffer contents on the screen --\r\n  \/\/ the library initializes this with an Adafruit splash screen.\r\n  display.display();\r\n  delay(2000); \/\/ Pause for 2 seconds\r\n\r\n  \/\/ Clear the buffer\r\n  display.clearDisplay();\r\n\r\n  \/\/ Draw a single pixel in white\r\n  display.drawPixel(10, 10, SSD1306_WHITE);\r\n\r\n  \/\/ Show the display buffer on the screen. You MUST call display() after\r\n  \/\/ drawing commands to make them visible on screen!\r\n  display.display();\r\n  delay(2000);\r\n  \/\/ display.display() is NOT necessary after every single drawing command,\r\n  \/\/ unless that's what you want...rather, you can batch up a bunch of\r\n  \/\/ drawing operations and then update the screen all at once by calling\r\n  \/\/ display.display(). These examples demonstrate both approaches...\r\n\r\n  testdrawline();      \/\/ Draw many lines\r\n\r\n  testdrawrect();      \/\/ Draw rectangles (outlines)\r\n\r\n  testfillrect();      \/\/ Draw rectangles (filled)\r\n\r\n  testdrawcircle();    \/\/ Draw circles (outlines)\r\n\r\n  testfillcircle();    \/\/ Draw circles (filled)\r\n\r\n  testdrawroundrect(); \/\/ Draw rounded rectangles (outlines)\r\n\r\n  testfillroundrect(); \/\/ Draw rounded rectangles (filled)\r\n\r\n  testdrawtriangle();  \/\/ Draw triangles (outlines)\r\n\r\n  testfilltriangle();  \/\/ Draw triangles (filled)\r\n\r\n  testdrawchar();      \/\/ Draw characters of the default font\r\n\r\n  testdrawstyles();    \/\/ Draw 'stylized' characters\r\n\r\n  testscrolltext();    \/\/ Draw scrolling text\r\n\r\n  testdrawbitmap();    \/\/ Draw a small bitmap image\r\n\r\n  \/\/ Invert and restore display, pausing in-between\r\n  display.invertDisplay(true);\r\n  delay(1000);\r\n  display.invertDisplay(false);\r\n  delay(1000);\r\n\r\n  testanimate(logo_bmp, LOGO_WIDTH, LOGO_HEIGHT); \/\/ Animate bitmaps\r\n}\r\n\r\nvoid loop() {\r\n}\r\n\r\nvoid testdrawline() {\r\n  int16_t i;\r\n\r\n  display.clearDisplay(); \/\/ Clear display buffer\r\n\r\n  for(i=0; i&lt;display.width(); i+=4) {\r\n    display.drawLine(0, 0, i, display.height()-1, SSD1306_WHITE);\r\n    display.display(); \/\/ Update screen with each newly-drawn line\r\n    delay(1);\r\n  }\r\n  for(i=0; i&lt;display.height(); i+=4) {\r\n    display.drawLine(0, 0, display.width()-1, i, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n  delay(250);\r\n\r\n  display.clearDisplay();\r\n\r\n  for(i=0; i&lt;display.width(); i+=4) {\r\n    display.drawLine(0, display.height()-1, i, 0, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n  for(i=display.height()-1; i&gt;=0; i-=4) {\r\n    display.drawLine(0, display.height()-1, display.width()-1, i, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n  delay(250);\r\n\r\n  display.clearDisplay();\r\n\r\n  for(i=display.width()-1; i&gt;=0; i-=4) {\r\n    display.drawLine(display.width()-1, display.height()-1, i, 0, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n  for(i=display.height()-1; i&gt;=0; i-=4) {\r\n    display.drawLine(display.width()-1, display.height()-1, 0, i, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n  delay(250);\r\n\r\n  display.clearDisplay();\r\n\r\n  for(i=0; i&lt;display.height(); i+=4) {\r\n    display.drawLine(display.width()-1, 0, 0, i, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n  for(i=0; i&lt;display.width(); i+=4) {\r\n    display.drawLine(display.width()-1, 0, i, display.height()-1, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n\r\n  delay(2000); \/\/ Pause for 2 seconds\r\n}\r\n\r\nvoid testdrawrect(void) {\r\n  display.clearDisplay();\r\n\r\n  for(int16_t i=0; i&lt;display.height()\/2; i+=2) {\r\n    display.drawRect(i, i, display.width()-2*i, display.height()-2*i, SSD1306_WHITE);\r\n    display.display(); \/\/ Update screen with each newly-drawn rectangle\r\n    delay(1);\r\n  }\r\n\r\n  delay(2000);\r\n}\r\n\r\nvoid testfillrect(void) {\r\n  display.clearDisplay();\r\n\r\n  for(int16_t i=0; i&lt;display.height()\/2; i+=3) {\r\n    \/\/ The INVERSE color is used so rectangles alternate white\/black\r\n    display.fillRect(i, i, display.width()-i*2, display.height()-i*2, SSD1306_INVERSE);\r\n    display.display(); \/\/ Update screen with each newly-drawn rectangle\r\n    delay(1);\r\n  }\r\n\r\n  delay(2000);\r\n}\r\n\r\nvoid testdrawcircle(void) {\r\n  display.clearDisplay();\r\n\r\n  for(int16_t i=0; i&lt;max(display.width(),display.height())\/2; i+=2) {\r\n    display.drawCircle(display.width()\/2, display.height()\/2, i, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n\r\n  delay(2000);\r\n}\r\n\r\nvoid testfillcircle(void) {\r\n  display.clearDisplay();\r\n\r\n  for(int16_t i=max(display.width(),display.height())\/2; i&gt;0; i-=3) {\r\n    \/\/ The INVERSE color is used so circles alternate white\/black\r\n    display.fillCircle(display.width() \/ 2, display.height() \/ 2, i, SSD1306_INVERSE);\r\n    display.display(); \/\/ Update screen with each newly-drawn circle\r\n    delay(1);\r\n  }\r\n\r\n  delay(2000);\r\n}\r\n\r\nvoid testdrawroundrect(void) {\r\n  display.clearDisplay();\r\n\r\n  for(int16_t i=0; i&lt;display.height()\/2-2; i+=2) {\r\n    display.drawRoundRect(i, i, display.width()-2*i, display.height()-2*i,\r\n      display.height()\/4, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n\r\n  delay(2000);\r\n}\r\n\r\nvoid testfillroundrect(void) {\r\n  display.clearDisplay();\r\n\r\n  for(int16_t i=0; i&lt;display.height()\/2-2; i+=2) {\r\n    \/\/ The INVERSE color is used so round-rects alternate white\/black\r\n    display.fillRoundRect(i, i, display.width()-2*i, display.height()-2*i,\r\n      display.height()\/4, SSD1306_INVERSE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n\r\n  delay(2000);\r\n}\r\n\r\nvoid testdrawtriangle(void) {\r\n  display.clearDisplay();\r\n\r\n  for(int16_t i=0; i&lt;max(display.width(),display.height())\/2; i+=5) {\r\n    display.drawTriangle(\r\n      display.width()\/2  , display.height()\/2-i,\r\n      display.width()\/2-i, display.height()\/2+i,\r\n      display.width()\/2+i, display.height()\/2+i, SSD1306_WHITE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n\r\n  delay(2000);\r\n}\r\n\r\nvoid testfilltriangle(void) {\r\n  display.clearDisplay();\r\n\r\n  for(int16_t i=max(display.width(),display.height())\/2; i&gt;0; i-=5) {\r\n    \/\/ The INVERSE color is used so triangles alternate white\/black\r\n    display.fillTriangle(\r\n      display.width()\/2  , display.height()\/2-i,\r\n      display.width()\/2-i, display.height()\/2+i,\r\n      display.width()\/2+i, display.height()\/2+i, SSD1306_INVERSE);\r\n    display.display();\r\n    delay(1);\r\n  }\r\n\r\n  delay(2000);\r\n}\r\n\r\nvoid testdrawchar(void) {\r\n  display.clearDisplay();\r\n\r\n  display.setTextSize(1);      \/\/ Normal 1:1 pixel scale\r\n  display.setTextColor(SSD1306_WHITE); \/\/ Draw white text\r\n  display.setCursor(0, 0);     \/\/ Start at top-left corner\r\n  display.cp437(true);         \/\/ Use full 256 char 'Code Page 437' font\r\n\r\n  \/\/ Not all the characters will fit on the display. This is normal.\r\n  \/\/ Library will draw what it can and the rest will be clipped.\r\n  for(int16_t i=0; i&lt;256; i++) {\r\n    if(i == '\\n') display.write(' ');\r\n    else          display.write(i);\r\n  }\r\n\r\n  display.display();\r\n  delay(2000);\r\n}\r\n\r\nvoid testdrawstyles(void) {\r\n  display.clearDisplay();\r\n\r\n  display.setTextSize(1);             \/\/ Normal 1:1 pixel scale\r\n  display.setTextColor(SSD1306_WHITE);        \/\/ Draw white text\r\n  display.setCursor(0,0);             \/\/ Start at top-left corner\r\n  display.println(F(&quot;Hello, world!&quot;));\r\n\r\n  display.setTextColor(SSD1306_BLACK, SSD1306_WHITE); \/\/ Draw 'inverse' text\r\n  display.println(3.141592);\r\n\r\n  display.setTextSize(2);             \/\/ Draw 2X-scale text\r\n  display.setTextColor(SSD1306_WHITE);\r\n  display.print(F(&quot;0x&quot;)); display.println(0xDEADBEEF, HEX);\r\n\r\n  display.display();\r\n  delay(2000);\r\n}\r\n\r\nvoid testscrolltext(void) {\r\n  display.clearDisplay();\r\n\r\n  display.setTextSize(2); \/\/ Draw 2X-scale text\r\n  display.setTextColor(SSD1306_WHITE);\r\n  display.setCursor(10, 0);\r\n  display.println(F(&quot;scroll&quot;));\r\n  display.display();      \/\/ Show initial text\r\n  delay(100);\r\n\r\n  \/\/ Scroll in various directions, pausing in-between:\r\n  display.startscrollright(0x00, 0x0F);\r\n  delay(2000);\r\n  display.stopscroll();\r\n  delay(1000);\r\n  display.startscrollleft(0x00, 0x0F);\r\n  delay(2000);\r\n  display.stopscroll();\r\n  delay(1000);\r\n  display.startscrolldiagright(0x00, 0x07);\r\n  delay(2000);\r\n  display.startscrolldiagleft(0x00, 0x07);\r\n  delay(2000);\r\n  display.stopscroll();\r\n  delay(1000);\r\n}\r\n\r\nvoid testdrawbitmap(void) {\r\n  display.clearDisplay();\r\n\r\n  display.drawBitmap(\r\n    (display.width()  - LOGO_WIDTH ) \/ 2,\r\n    (display.height() - LOGO_HEIGHT) \/ 2,\r\n    logo_bmp, LOGO_WIDTH, LOGO_HEIGHT, 1);\r\n  display.display();\r\n  delay(1000);\r\n}\r\n\r\n#define XPOS   0 \/\/ Indexes into the 'icons' array in function below\r\n#define YPOS   1\r\n#define DELTAY 2\r\n\r\nvoid testanimate(const uint8_t *bitmap, uint8_t w, uint8_t h) {\r\n  int8_t f, icons[NUMFLAKES][3];\r\n\r\n  \/\/ Initialize 'snowflake' positions\r\n  for(f=0; f&lt; NUMFLAKES; f++) {\r\n    icons[f][XPOS]   = random(1 - LOGO_WIDTH, display.width());\r\n    icons[f][YPOS]   = -LOGO_HEIGHT;\r\n    icons[f][DELTAY] = random(1, 6);\r\n    Serial.print(F(&quot;x: &quot;));\r\n    Serial.print(icons[f][XPOS], DEC);\r\n    Serial.print(F(&quot; y: &quot;));\r\n    Serial.print(icons[f][YPOS], DEC);\r\n    Serial.print(F(&quot; dy: &quot;));\r\n    Serial.println(icons[f][DELTAY], DEC);\r\n  }\r\n\r\n  for(;;) { \/\/ Loop forever...\r\n    display.clearDisplay(); \/\/ Clear the display buffer\r\n\r\n    \/\/ Draw each snowflake:\r\n    for(f=0; f&lt; NUMFLAKES; f++) {\r\n      display.drawBitmap(icons[f][XPOS], icons[f][YPOS], bitmap, w, h, SSD1306_WHITE);\r\n    }\r\n\r\n    display.display(); \/\/ Show the display buffer on the screen\r\n    delay(200);        \/\/ Pause for 1\/10 second\r\n\r\n    \/\/ Then update coordinates of each flake...\r\n    for(f=0; f&lt; NUMFLAKES; f++) {\r\n      icons[f][YPOS] += icons[f][DELTAY];\r\n      \/\/ If snowflake is off the bottom of the screen...\r\n      if (icons[f][YPOS] &gt;= display.height()) {\r\n        \/\/ Reinitialize to a random position, just off the top\r\n        icons[f][XPOS]   = random(1 - LOGO_WIDTH, display.width());\r\n        icons[f][YPOS]   = -LOGO_HEIGHT;\r\n        icons[f][DELTAY] = random(1, 6);\r\n      }\r\n    }\r\n  }\r\n}\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/section>\r\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0647\u0627\u06cc OLED\u060c \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0647\u0627\u06cc\u06cc \u0628\u0627 \u06a9\u0646\u062a\u0631\u0627\u0633\u062a \u0648 \u0631\u0632\u0648\u0644\u0648\u0634\u0646 \u0628\u0627\u0644\u0627 \u0645\u06cc \u0628\u0627\u0634\u0646\u062f\u060c \u0627\u0632 \u0627\u06cc\u0646 \u0631\u0648 \u0642\u0627\u0628\u0644\u06cc\u062a \u062e\u0648\u0627\u0646\u0627\u06cc\u06cc \u0632\u06cc\u0627\u062f\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u00a0\u06a9\u0646\u0646\u062f. \u0627\u06cc\u0646 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631\u0647\u0627 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0646\u0648\u0631 \u067e\u0633 \u0632\u0645\u06cc\u0646\u0647 Backlight \u0646\u062f\u0627\u0631\u0646\u062f \u0648 \u067e\u06cc\u06a9\u0633\u0644 \u0647\u0627 \u062e\u0648\u062f\u0634\u0627\u0646 \u0646\u0648\u0631 \u0627\u0641\u0634\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u0646\u062f \u0648 \u062f\u0631 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0628\u0627 LCD \u0647\u0627\u06cc \u06a9\u0631\u06cc\u0633\u062a\u0627\u0644 \u0645\u0627\u06cc\u0639\u060c \u0628\u0627\u0631\u06cc\u06a9\u062a\u0631 [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":20912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[935],"tags":[4610],"platform":[1071],"bytype":[1075],"difficulty":[1077],"related_products":[4356,4034],"featured_image_src":{"landsacpe":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/lcd-01-123-teaser.jpg",1200,900,false],"list":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/lcd-01-123-teaser.jpg",1200,900,false],"medium":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/lcd-01-123-teaser.jpg",533,400,false],"full":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/lcd-01-123-teaser.jpg",1200,900,false]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v14.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 - \u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a<\/title>\n<meta name=\"description\" content=\"\u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647\u060c \u0645\u062b\u0627\u0644\u060c \u0646\u0645\u0648\u0646\u0647\u060c \u06a9\u062f\" \/>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 - \u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"og:description\" content=\"\u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 0.91 \u0627\u06cc\u0646\u0686 OLED \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647\u060c \u0645\u062b\u0627\u0644\u060c \u0646\u0645\u0648\u0646\u0647\u060c \u06a9\u062f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"\u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-08T13:39:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-06T04:43:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/lcd-01-123-teaser.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\",\"name\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"url\":\"https:\/\/thecaferobot.com\/learn\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#logo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2018\/08\/Logo-small.png\",\"width\":250,\"height\":250,\"caption\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#website\",\"url\":\"https:\/\/thecaferobot.com\/learn\/\",\"name\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"description\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0627\\u0644\\u06a9\\u062a\\u0631\\u0648\\u0646\\u06cc\\u06a9\\u060c \\u0631\\u0628\\u0627\\u062a\\u06cc\\u06a9\\u060c \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 \\u0648 \\u0631\\u0633\\u067e\\u0628\\u0631\\u06cc \\u067e\\u0627\\u06cc\",\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/thecaferobot.com\/learn\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/lcd-01-123-teaser.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/#webpage\",\"url\":\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/\",\"name\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0646\\u0645\\u0627\\u06cc\\u0634\\u06af\\u0631 0.91 \\u0627\\u06cc\\u0646\\u0686 OLED \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 - \\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/#primaryimage\"},\"datePublished\":\"2021-02-08T13:39:25+00:00\",\"dateModified\":\"2024-08-06T04:43:00+00:00\",\"description\":\"\\u062f\\u0631 \\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0646\\u0645\\u0627\\u06cc\\u0634\\u06af\\u0631 0.91 \\u0627\\u06cc\\u0646\\u0686 OLED \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 \\u06cc\\u0627\\u062f \\u0645\\u06cc\\u200c\\u06af\\u06cc\\u0631\\u06cc\\u062f \\u0686\\u06af\\u0648\\u0646\\u0647 \\u0627\\u0632 \\u0646\\u0645\\u0627\\u06cc\\u0634\\u06af\\u0631 0.91 \\u0627\\u06cc\\u0646\\u0686 OLED \\u0627\\u0633\\u062a\\u0641\\u0627\\u062f\\u0647 \\u06a9\\u0646\\u06cc\\u062f \\u0628\\u0647 \\u0647\\u0645\\u0631\\u0627\\u0647\\u060c \\u0645\\u062b\\u0627\\u0644\\u060c \\u0646\\u0645\\u0648\\u0646\\u0647\\u060c \\u06a9\\u062f\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/#webpage\"},\"author\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/391776cde87ca107a152ca4dd9440a54\"},\"headline\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0646\\u0645\\u0627\\u06cc\\u0634\\u06af\\u0631 0.91 \\u0627\\u06cc\\u0646\\u0686 OLED \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648\",\"datePublished\":\"2021-02-08T13:39:25+00:00\",\"dateModified\":\"2024-08-06T04:43:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/#webpage\"},\"commentCount\":9,\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/#primaryimage\"},\"keywords\":\"\\u0646\\u0645\\u0627\\u0634\\u06af\\u0631 OLED\",\"articleSection\":\"\\u0646\\u0645\\u0627\\u06cc\\u0634\\u06af\\u0631\\u0647\\u0627\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-ssd1306-0-91-inch-oled-i2c-display-with-arduino\/#respond\"]}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/391776cde87ca107a152ca4dd9440a54\",\"name\":\"\\u0645\\u062d\\u0645\\u062f \\u062f\\u0645\\u06cc\\u0631\\u0686\\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/831b2d5977ac9997b6a7e78dc61cfd45?s=96&d=mm&r=g\",\"caption\":\"\\u0645\\u062d\\u0645\\u062f \\u062f\\u0645\\u06cc\\u0631\\u0686\\u06cc\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/20909"}],"collection":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/comments?post=20909"}],"version-history":[{"count":14,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/20909\/revisions"}],"predecessor-version":[{"id":32114,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/20909\/revisions\/32114"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media\/20912"}],"wp:attachment":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media?parent=20909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/categories?post=20909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/tags?post=20909"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/platform?post=20909"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/bytype?post=20909"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/difficulty?post=20909"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/related_products?post=20909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}