• Hi !
    I'm new to the "microcontroller world" so don't hesitate to ask detail or correct me if needed :D

    I own this kit https://www.amazon.fr/gp/product/B07T2H5QXC/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1

    I'm trying to make the display work (simple Hello world from the doc)

    I attached the way i wired everything and a small video of what is displayed, because i cannot describe the issue using word.

    This is the code running

    const SCL = D5;
    const SDA = D4;
    
    function start(){
     g.clear();
     g.drawString("Hello World!",2,2);
     g.flip();
    
      setTimeout(start);
    }
    
    // I2C
    I2C1.setup({ scl:SCL, sda:SDA });
    var g = require("SSD1306").connect(I2C1, start, {
      contrast: 1
    });
    

    I hope someone will be able to help me getting started

    Thanks in advance !


    1 Attachment

  • This is the setup


    1 Attachment

    • Screenshot 2020-05-05 at 23.47.36.png
  • Nevermind...
    After reading carefully the amazon page, i discovered that i was using the wrong driver.

    Solved using: https://www.espruino.com/SH1106

About

Issue with oled screen using SSD1306 on ESP8266

Posted by Avatar for brainfart-be @brainfart-be

Actions