• Jorgen did a driver for the ST7735 a while back. Its in this thread:

    http://forum.espruino.com/comments/12347­822/

    You can require the driver directly via https like this:

    
    
    pinMode(D5,"output");
    
    D5.set(); // Backlight On
    
    var colorPalette = new Uint16Array([0, 0xF80F, 0x001F, 0xFFFF]);
    var spi = new SPI();
    spi.setup({mosi:D19 /* sda */, sck:D18 /* scl */});
    
    var g = require("https://espruino.microcosm.app/­api/v1/files/a77b4d12f6a3b7587da5a3a70c0­2dc13ad2a3332.js").connectPaletted(color­Palette, spi, D21 /* DC */, D15 /*CS */, D2 /* RST */, function() {
      g.clear();
      g.setRotation(2);
      g.setColor(1);
      g.drawString("Hello",0,0);
      g.setColor(2);
      g.setFontVector(20);
      g.drawString("TESTING",0,10);
      g.setColor(3);
      g.setFontVector(30);
      g.drawString("TESTING",0,30);
      g.setColor(4);
      g.setFontVector(40);
      g.drawString("TESTING",0,50);
      g.flip();
    });
    
    

    Adjust the pinouts for your setup. I've used it a few times and it seems fine. Gordon was there something you found wrong about it? I noticed it wasn't on the drivers page. Maybe I missed something about it.

    The unit I have is labeled SCL and SDA, but as you can see on some forums thats just how its labelled. It is in fact SPI.

About