How's it gone from "I would like to calculate 3-4 seconds " to 30 minutes?
Increasing the buffer size is ok, but you have 6 bytes/sample - and lets say you have ~150k free RAM, that's 25000 samples, or 250 seconds at 100Hz.
If you want more, you're going to have to save to flash memory. Lots of info on how to do that at http://www.espruino.com/Data+Collection#flash-memory - I don't see a problem writing 100Hz, but you may struggle getting it higher.
You're not going to 'burn' your watch playing with settings, but I guess you might crash it and have to long-press to restart. Have a try and see what works.
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.
How's it gone from "I would like to calculate 3-4 seconds " to 30 minutes?
Increasing the buffer size is ok, but you have 6 bytes/sample - and lets say you have ~150k free RAM, that's 25000 samples, or 250 seconds at 100Hz.
If you want more, you're going to have to save to flash memory. Lots of info on how to do that at http://www.espruino.com/Data+Collection#flash-memory - I don't see a problem writing 100Hz, but you may struggle getting it higher.
You're not going to 'burn' your watch playing with settings, but I guess you might crash it and have to long-press to restart. Have a try and see what works.