• Hmm, I can't get it to work at all, This display has a pin labeled A0, I'm assuming this is RS/DC for setting if it is Data or a Command.

    As I don't have the middle pins soldered on I've changed the pins to
    GND -> GND
    VCC -> 3.3v
    LCD_BL -> 3.3v
    LCD_CS -> C5
    LCD_RST -> C6
    LCD_A0 -> C7
    SCK - > B13
    MOSI -> B15

    With this code:

    var spi = new SPI();
    spi.setup({ sck: B13, mosi: B15 });
    var g = require("ST7565").connect(spi, C7 /* RS / DC */, C5 /* CS / CE */, C6 /* RST */, function() {
      g.clear();
      g.drawString("Hello",0,0);
      g.drawLine(0,10,84,10);
      g.flip();
    });
    

    That should work fine right?

About

Avatar for MrTimcakes @MrTimcakes started