Thanks - strange that "after.txt" actually gets created. I guess it's possible it's the other way around...
Can you try your code, but then physically remove the LCD after it's been initialised and see if that changes anything? Not sure, but worth a try :)
I actually just added software SPI to the latest Espruino (in Git - will be 1v60), so at least if this is blocking you, you can now run the PCD8544 off of any pins:
var s = new SPI();
s.setup({mosi: ... , sck: ... });
g=require('PCD8544').connect(s, ... );
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 - strange that "after.txt" actually gets created. I guess it's possible it's the other way around...
Can you try your code, but then physically remove the LCD after it's been initialised and see if that changes anything? Not sure, but worth a try :)
I actually just added software SPI to the latest Espruino (in Git - will be 1v60), so at least if this is blocking you, you can now run the PCD8544 off of any pins: