Thanks to @ducky http://forum.espruino.com/comments/12949433/
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
@Wilberforce started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks to @ducky http://forum.espruino.com/comments/12949433/
Here are pictures showing the wiring colours on a breadboard.
3 Attachments