Yes - that is what I would expect ! That is not in my code though - it is in module code and getting corrupted somehow.
It seemed to be the way my LCD update function was being called. It was being called by various async events throughout the system. When I changed to a single interval checking a flag for LCD updates it has come right.
I dont understand how that was the problem as I thought this was all single threaded ?
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.
Yes - that is what I would expect ! That is not in my code though - it is in module code and getting corrupted somehow.
It seemed to be the way my LCD update function was being called. It was being called by various async events throughout the system. When I changed to a single interval checking a flag for LCD updates it has come right.
I dont understand how that was the problem as I thought this was all single threaded ?