What solved the problem with my display was the changed init sequence. Mine works fine without the delay.
In order to account for the slow power-up of other displays, the module could accept another parameter delay in the connect function... but then the connect would become asynchronous and developers would still have to make sure they don't use it before it's ready, so the complexity remains. Maybe a hint in the documentation is enough instead.
© Espruino, powered by microcosm.
Report a problem