Actually I could be wrong, but at least for me, this works now:
LCD.flip = function () { ce.reset(); digitalWrite(dc,0); // cmd spi.send([0x40,0x80]); // Y addr digitalWrite(dc,1); // data spi.send(this.buffer); ce.set(); };
@Gordon 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.
Actually I could be wrong, but at least for me, this works now: