@allObjects why do you think it is a transcription from another langage?
I use example provided in the max7219's module. And build in js. I iterate code writing step by step so the structure is durty (i'm pretty sure there is useless var)
Yes i'm not dev, just designer, and therfore i'm not thinking as a dev. ;)
I've rewrote with a setTimeout.
If i well anderstand, there is no parallel process and instructions are worked one by one. Therefore if i restart a function at the end of the same function,it will restart after everythink is done. No?
Except if spi transfer is asynchronous. Is it?
© Espruino, powered by microcosm.
Report a problem