• Has anyone managed to use the esp8266 to drive a graphics display?

    I'm confused on how the nodemcu.D? pin outs correspond to the sp1 labeled on the board, and which pins are free to use - I know that nodemcu.D4 is the serial debug, so pins D5 upwards are ok, but unsure on how these map.

    A fritzing diagram or similar would be appreciated!

    So far I have:

    SPI1.setup({ sck:NodeMCU.D8, mosi:NodeMCU.D7 });
    
    var g = require("PCD8544").connect(SPI1, NodeMCU.D7 /*DC*/, NodeMCU.D8 /*CE*/, NodeMCU.D9 /*RST*/, function() {
      g.clear();
      g.drawString("Hello",0,0);
      g.drawLine(0,10,84,10);
      g.flip();
    });
    
     RST   Brown  D9?
     CE    red    D8?
     DC    orange D7
     DIN   yellow D6  MOSI  
     CLK   green  D5  
     VCC   blue   +
     LIGHT purple  GND
     GND   grey    GND
    

    Thanks

About

Avatar for Wilberforce @Wilberforce started