When JavaScript code isn't minified, it runs more slowly - so that explains how the HD44780 starts working I guess! I'll have a look at the driver, but your digitalPulse solution seems pretty good.
For now, anyone having this problem could change the 'Module Extensionsitem in the Web IDE settings from.min.js|.jsto.js|.min.js`. That'll then load in unminified modules, which should be slow enough to make the LCD start working.
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.
That's great - thanks for all the debugging work!
When JavaScript code isn't minified, it runs more slowly - so that explains how the HD44780 starts working I guess! I'll have a look at the driver, but your
digitalPulse
solution seems pretty good.For now, anyone having this problem could change the 'Module Extensions
item in the Web IDE settings from
.min.js|.jsto
.js|.min.js`. That'll then load in unminified modules, which should be slow enough to make the LCD start working.