SSD1306 OLED dipslay on olimexino STM32

Posted on
Page
of 2
Prev
/ 2
  • but I have I2C adapter for HD44780, should I connect 3 pin to GND as well?

  • No, sorry - I got confused with someone who posted here who'd got the HD44780 working by wiring it up in parallel.

    Does your LCD have a small potentiometer on it for contrast? It could be it's making bad contact.

  • it is working but display is doing little flash when changing values
    i used this example

    function showData() {
     lcd.clear();
     lcd.setCursor(0,0);
     lcd.print("Current data:");
     lcd.setCursor(4,1);
     lcd.print("D1 = "+analogRead(D1));
    }
    setInterval(showData, 1000);
    

    I think it should only flash in section where the D1 value is, not all display?

  • I don't know, I guess it might depend on the display - maybe you could post up a video of it?

  • I figured out ;)
    need to delete lcd.clear() line and now only values are changing not all signs

  • Ahh - great! I should have spotted that ;)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

SSD1306 OLED dipslay on olimexino STM32

Posted by Avatar for bobricius @bobricius

Actions