• Yes, I'd totally sort out those other errors from the Espruino first.

    Uncaught InternalError: Timeout on I2C Read Receive

    Do you have I2C pullup resistors somewhere? I think I asked this on one of your other posts when you were getting the same error.

    ERROR: Out of Memory!

    As in the other post, I think 16.6ms interval for sending data is just too fast. It totally explains the increasing delay for responses (as the buffer increases) and the out of memory error.

    When you get that error, execution gets interrupted, and I imagine it messes up the stream of data sent to the PC. Try it running at 30fps and see if you still get the error, then work back from there?

About

Avatar for Gordon @Gordon started