Also reporting 'raw' sensor data like Android (as well as processed data in proper units) sounds good.
I guess one question is whether we artificially split things like the Gyro (which is usually in the same chip as the accelerometer and would give data at the same time) off into their own classes with their own events. I guess it's more flexible, but worse for the programmer.
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! There's some interesting stuff there. Actually having something like:
Does sound nicer than the current solution of:
Also reporting 'raw' sensor data like Android (as well as processed data in proper units) sounds good.
I guess one question is whether we artificially split things like the Gyro (which is usually in the same chip as the accelerometer and would give data at the same time) off into their own classes with their own events. I guess it's more flexible, but worse for the programmer.