Wemos TTGO ESP8266 0.91 Inch OLED For Arduino Nodemcu

Product ID: ds_1205904
Brand:
Unbranded
Condition:
New

Availability: In stock

Price:

$15.99

$22.21

Warehouse:
CN
Shipping:
Reward Points You will earn 16 Goodbrand Cash ($0.16) for purchasing this product.

Everyone can sell online on
Goodbrand. 0% commission

5 / 5 (1 ratings)
94%
description

Description:

Brand: Wemos
Example:
#include
#include "OLED.h"
//TTGO 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("Hello TTGO");
  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("Hello TTGO", r++, c++);
    delay(500);
}

Package included:

1 x TTGO ESP8266 0.91 Inch OLED For Arduino Nodemcu
1 x cable
2 x normal pin




















reviews

Write Your Own Review

You're reviewing: Wemos TTGO ESP8266 0.91 Inch OLED For Arduino Nodemcu

How do you rate this product? *

  1 star 2 stars 3 stars 4 stars 5 stars
Quality
Price
Value
Loading...