0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board
0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board
brand: DIYTECH SKU:DT2576-03
Regular price
$17.20
- guaranteeQuality checked
- Special gift cardsSpecial gift cards
- Free return Within 60 days
- Consultancyservice@diytech.cc
Example:
#include <Wire.h>
#include "OLED.h"
//0.91s OLED connection:
//SDA -- D4
//SCL -- D5
//RST -- D2
OLED display(SDA, SCL);
void setup() {
pinMode(D2, OUTPUT);
digitalWrite(D2, LOW); // turn D2 low to reset OLED
delay(50);
digitalWrite(D2, HIGH); // while OLED is running, must set D2 in high
Serial.begin(9600);
Serial.println("OLED test!");
// Initialize display
display.begin();
// Test message
display.print
delay(3*1000);
// Test long message
display.print("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.");
delay(3*1000);
// Test display clear
display.clear();
delay(3*1000);
// Test message postioning
display.print("TOP-LEFT");
display.print("4th row", 4);
display.print("RIGHT-BOTTOM", 7, 4);
delay(3*1000);
// Test display OFF
display.off();
display.print("3rd row", 3, 8);
delay(3*1000);
// Test display ON
display.on();
delay(3*1000);
}
int r = 0, c = 0;
void loop() {
r = r % 4;
c = micros() % 6;
if (r == 0) display.clear();
display.print
delay(500);
}
shipping list:
1X ESP8266 0.91 inch OLED
1X Line cable
2X Pin
Other Customers also buy:
-
$2.95{"id":4521872719959,"title":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board","handle":"0-91-inch-esp8266-oled-cp2014-wireless-wifi-development-module-for-arduino-iot-module-32m-32mb-flash-pcb-board","description":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e","published_at":"2020-05-22T21:40:36+08:00","created_at":"2020-05-22T21:40:38+08:00","vendor":"DIYTECH","type":"WIFI Module","tags":["Arduino","Display","ESP8266","For Arduino","OLED","Wireless"],"price":1720,"price_min":1720,"price_max":5150,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":32151186538583,"title":"3pcs","option1":"3pcs","option2":null,"option3":null,"sku":"DT2576-03","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 3pcs","public_title":"3pcs","options":["3pcs"],"price":1720,"weight":24,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":32151186571351,"title":"10pcs","option1":"10pcs","option2":null,"option3":null,"sku":"DT2576-10","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 10pcs","public_title":"10pcs","options":["10pcs"],"price":5150,"weight":80,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"],"featured_image":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","options":["Batch"],"media":[{"alt":"0.91 Inch Esp8266 Oled Cp2014 Wireless Wifi Development Module For Arduino Iot 32M 32Mb Flash Pcb","id":6276737794135,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e"}
-
$16.99{"id":4521872719959,"title":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board","handle":"0-91-inch-esp8266-oled-cp2014-wireless-wifi-development-module-for-arduino-iot-module-32m-32mb-flash-pcb-board","description":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e","published_at":"2020-05-22T21:40:36+08:00","created_at":"2020-05-22T21:40:38+08:00","vendor":"DIYTECH","type":"WIFI Module","tags":["Arduino","Display","ESP8266","For Arduino","OLED","Wireless"],"price":1720,"price_min":1720,"price_max":5150,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":32151186538583,"title":"3pcs","option1":"3pcs","option2":null,"option3":null,"sku":"DT2576-03","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 3pcs","public_title":"3pcs","options":["3pcs"],"price":1720,"weight":24,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":32151186571351,"title":"10pcs","option1":"10pcs","option2":null,"option3":null,"sku":"DT2576-10","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 10pcs","public_title":"10pcs","options":["10pcs"],"price":5150,"weight":80,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"],"featured_image":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","options":["Batch"],"media":[{"alt":"0.91 Inch Esp8266 Oled Cp2014 Wireless Wifi Development Module For Arduino Iot 32M 32Mb Flash Pcb","id":6276737794135,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e"}
-
$11.41{"id":4521872719959,"title":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board","handle":"0-91-inch-esp8266-oled-cp2014-wireless-wifi-development-module-for-arduino-iot-module-32m-32mb-flash-pcb-board","description":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e","published_at":"2020-05-22T21:40:36+08:00","created_at":"2020-05-22T21:40:38+08:00","vendor":"DIYTECH","type":"WIFI Module","tags":["Arduino","Display","ESP8266","For Arduino","OLED","Wireless"],"price":1720,"price_min":1720,"price_max":5150,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":32151186538583,"title":"3pcs","option1":"3pcs","option2":null,"option3":null,"sku":"DT2576-03","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 3pcs","public_title":"3pcs","options":["3pcs"],"price":1720,"weight":24,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":32151186571351,"title":"10pcs","option1":"10pcs","option2":null,"option3":null,"sku":"DT2576-10","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 10pcs","public_title":"10pcs","options":["10pcs"],"price":5150,"weight":80,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"],"featured_image":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","options":["Batch"],"media":[{"alt":"0.91 Inch Esp8266 Oled Cp2014 Wireless Wifi Development Module For Arduino Iot 32M 32Mb Flash Pcb","id":6276737794135,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e"}
-
$0.90{"id":4521872719959,"title":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board","handle":"0-91-inch-esp8266-oled-cp2014-wireless-wifi-development-module-for-arduino-iot-module-32m-32mb-flash-pcb-board","description":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e","published_at":"2020-05-22T21:40:36+08:00","created_at":"2020-05-22T21:40:38+08:00","vendor":"DIYTECH","type":"WIFI Module","tags":["Arduino","Display","ESP8266","For Arduino","OLED","Wireless"],"price":1720,"price_min":1720,"price_max":5150,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":32151186538583,"title":"3pcs","option1":"3pcs","option2":null,"option3":null,"sku":"DT2576-03","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 3pcs","public_title":"3pcs","options":["3pcs"],"price":1720,"weight":24,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":32151186571351,"title":"10pcs","option1":"10pcs","option2":null,"option3":null,"sku":"DT2576-10","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 10pcs","public_title":"10pcs","options":["10pcs"],"price":5150,"weight":80,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"],"featured_image":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","options":["Batch"],"media":[{"alt":"0.91 Inch Esp8266 Oled Cp2014 Wireless Wifi Development Module For Arduino Iot 32M 32Mb Flash Pcb","id":6276737794135,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e"}
-
$26.72{"id":4521872719959,"title":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board","handle":"0-91-inch-esp8266-oled-cp2014-wireless-wifi-development-module-for-arduino-iot-module-32m-32mb-flash-pcb-board","description":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e","published_at":"2020-05-22T21:40:36+08:00","created_at":"2020-05-22T21:40:38+08:00","vendor":"DIYTECH","type":"WIFI Module","tags":["Arduino","Display","ESP8266","For Arduino","OLED","Wireless"],"price":1720,"price_min":1720,"price_max":5150,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":32151186538583,"title":"3pcs","option1":"3pcs","option2":null,"option3":null,"sku":"DT2576-03","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 3pcs","public_title":"3pcs","options":["3pcs"],"price":1720,"weight":24,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":32151186571351,"title":"10pcs","option1":"10pcs","option2":null,"option3":null,"sku":"DT2576-10","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"0.91 inch ESP8266 OLED CP2014 Wireless WIFI Development Module for Arduino IOT Module 32M 32Mb Flash PCB Board - 10pcs","public_title":"10pcs","options":["10pcs"],"price":5150,"weight":80,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"],"featured_image":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","options":["Batch"],"media":[{"alt":"0.91 Inch Esp8266 Oled Cp2014 Wireless Wifi Development Module For Arduino Iot 32M 32Mb Flash Pcb","id":6276737794135,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/diytech.cc\/cdn\/shop\/products\/1556006278_Ubaa2.jpg?v=1590154838","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cwidget type=\"custom\" title=\"Head\" id=\"33684419\" data-widget-type=\"customText\"\u003e\u003c\/widget\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003eExample:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \u0026lt;Wire.h\u0026gt;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e#include \"OLED.h\"\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/0.91s OLED connection:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SDA -- D4\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/SCL -- D5\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\/\/RST -- D2\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eOLED display(SDA, SCL);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid setup() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e pinMode(D2, OUTPUT);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, LOW); \/\/ turn D2 low to reset OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(50);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e digitalWrite(D2, HIGH); \/\/ while OLED is running, must set D2 in high\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.begin(9600);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e Serial.println(\"OLED test!\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Initialize display\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.begin();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test long message\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display clear\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test message postioning\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"TOP-LEFT\");\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"4th row\", 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"RIGHT-BOTTOM\", 7, 4);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display OFF\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.off();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print(\"3rd row\", 3, 8);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \/\/ Test display ON\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.on();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(3*1000);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eint r = 0, c = 0;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003evoid loop() {\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e \u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e r = r % 4;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e c = micros() % 6;\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e if (r == 0) display.clear();\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e display.print\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e delay(500);\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e}\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003eshipping list:\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X ESP8266 0.91 inch OLED\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e1X Line cable\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan\u003e2X Pin\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\n\u003cimg alt=\"012591 (2)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jaeQMMHqK1RjSZJnq6zNLpXas.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (3)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1xPCUMMHqK1RjSZFkq6x.WFXaQ.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (4)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jQG_MOLaK1RjSZFxq6ymPFXaP.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (5)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1OFONMSzqK1RjSZFpq6ykSXXau.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (7)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rPWRMFzqK1RjSZFvq6AB7VXag.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (8)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1v6qLMQvoK1RjSZPfq6xPKFXab.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (9)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1QyHXMNjaK1RjSZKzq6xVwXXah.jpg\"\u003e\u003cspan\u003e \u003c\/span\u003e\u003cimg alt=\"012591 (12)\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1dgqPMG6qK1RjSZFmq6x0PFXaj.jpg\"\u003e\n\u003c\/div\u003e"}