Thanks @Gordon... I did start using the getAccel on every step event to get the accelerometer values. Now I am treating the 'step' event as a throttle for the 'accel' event. I tried logging accel event, and it turned out to be a firehose that filled up the internal memory very quickly. So the plan is to try and find patterns in accel data and then 'tune' the event appropriately.
Getting some exciting accel readings at current sensitivity level. I will also play around with the Options.
The issue with context was a non-issue. It is still to do with file save but again, separate thread :-)... I have removed it from the title and marked this one as resolved.
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.
Thanks @Gordon... I did start using the
getAccel
on everystep
event to get the accelerometer values. Now I am treating the 'step' event as a throttle for the 'accel' event. I tried loggingaccel
event, and it turned out to be a firehose that filled up the internal memory very quickly. So the plan is to try and find patterns inaccel
data and then 'tune' the event appropriately.Getting some exciting
accel
readings at current sensitivity level. I will also play around with the Options.The issue with context was a non-issue. It is still to do with file save but again, separate thread :-)... I have removed it from the title and marked this one as resolved.
Cheers.