Sounds like a plan - do you have one there that you can test with? I'd be interested to see if it works - maybe it's just missing the last 4 pixels, which I guess won't be a deal-breaker even as-is!
Personally I wonder whether I should actually do:
var g = require("ST7565").connect(spi, {rs:A7, cs:A5, rst:A6, width:132}, function() {
g.clear();
});
For me, that's a lot easier to read and maintain than the unlabelled parameters.
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.
Sounds like a plan - do you have one there that you can test with? I'd be interested to see if it works - maybe it's just missing the last 4 pixels, which I guess won't be a deal-breaker even as-is!
Personally I wonder whether I should actually do:
For me, that's a lot easier to read and maintain than the unlabelled parameters.