push data out is jsvIterateCallback(data, allFast.....
I'll check it soon.
even in BytePort you had to grab the binary data out of a variable each call
Thats correct, but no need to grab pins, set them to output, calculate mask, ... on each call
Just tinking, binary data, couldn't this be added to initialization, and we only have to set a pointer ? Or would this cause problems if jsvars are restructured ?, hmmm
Anyway, we got some speed in a lot of places (I2C, SPI, ....)
And the way you use an array to avoid executing JS, very interesting.
© Espruino, powered by microcosm.
Report a problem