Ahh - can you check "Modules uploaded as functions" is checked under communication settings, and that you're definitely uploading to flash?
I just uploaded your code to a Pixl here and it went fine (up to the point that I2C failed because I didn't have an MPU6050 attached) with only ~900 vars used.
Ah I was uploading to RAM. Uploading to flash works :) (I didn't upload to flash because I had to reset the Pixl when the memory issues came up during upload)
And yeah, modules uploaded as functions is checked.
The module seems to be working, and is quite performant :) Thanks again for the help!
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.
Ahh - can you check "Modules uploaded as functions" is checked under communication settings, and that you're definitely uploading to flash?
I just uploaded your code to a Pixl here and it went fine (up to the point that I2C failed because I didn't have an MPU6050 attached) with only ~900 vars used.