OLED Shield for Lolin D1 mini with 2x I2C Button

I lager.

89 kr


64×48 pixels (0.66” Across) OLED Shield with 2x I2C ButtonScreen Size: 64×48 pixels (0.66” Across)

  • Screen Size: 64×48 pixels (0.66” Across)
  • Operating Voltage: 3.3V
  • Driver IC: SSD1306 (I2C Address: 0x3C or 0x3D)
  • 2x I2C Button (customizable I2C Address, default:0x31)

Börja med installation

LOLIN D1 mini V3.1.0

  • 11 digital input/output pins, all pins have interrupt/pwm/I2C/one-wire supported(except D0)

  • 1 analog input(3.2V max input)
  • a Micro USB connection
  • Compatible with MicroPython, Arduino, nodemcu

Börja med installation


Lolin  OLED shield V2.1.0 IIC / I2C 0.66 inch

OLED shield I2C 0.66 inch compatible with WeMos D1 Mini ESP8266 board with bright and clear display, this is a good option to display data when you want to learn and develop WeMos-based applications D1 Mini.

Technical specifications

  • Compatible with board WeMos D1 Mini ESP8266
  • Screen size: 0.66 inches (64x48 pixels)
  • Operating voltage: 3.3V
  • Driver IC: SSD1306
  • Use I2C communication (address 0x3C or 0x3D)

Library

Här är koden kan skickas via e-post  

 
 
// SCL GPIO5
// SDA GPIO4
#define OLED_RESET 0 // GPIO0
Adafruit_SSD1306 display(OLED_RESET);
 
#define NUMFLAKES 10
#define XPOS 0
#define YPOS 1
#define DELTAY 2
 
 
#define LOGO16_GLCD_HEIGHT 16
#define LOGO16_GLCD_WIDTH 16
 
 
void setup() {
 Serial.begin(9600);
 
 // by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
 display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3C (for the 64x48)
 // init done
 
 display.display();
 delay(2000);
 
 // Clear the buffer.
 display.clearDisplay();
 
 // text display tests
 display.setTextSize(1);
 display.setTextColor(WHITE);
 display.setCursor(0,0);
 display.println("Hello, world!");
 display.display();
 delay(2000);
 display.clearDisplay();
 
}
 
 
void loop() {
 
}