You are reading a single comment by @Wilberforce and its replies. Click here to read the full conversation.
  • Thanks to @ducky http://forum.espruino.com/comments/12949­433/

    Here are pictures showing the wiring colours on a breadboard.

    SPI1.setup({ sck:NodeMCU.D5, mosi:NodeMCU.D7 });
    var g = require("PCD8544").connect(SPI1, NodeMCU.D2 /* RS / DC */, NodeMCU.D8 
                                       /* CS / CE */, NodeMCU.D1 /*RST*/, function() {
      g.clear();
      g.setRotation(2); //Flip display 180
      g.drawString("Hi Esp8266",0,0);
      g.drawLine(0,10,84,10);
      g.flip();
    });
    

    3 Attachments

    • IMG_0186.JPG
    • IMG_0187.JPG
    • IMG_0188.JPG
About

Avatar for Wilberforce @Wilberforce started