Yes, the gyro is what I intitally wanted to use. But it gives me random high value readings (even with no motion at all), which seem odd to me, so I switched to the magnometer.
I wanted to add a very basic use case for the Puck.js (v2): As an addition to the tutorial on BLE HID media control by @Gordon I added volume control by physical rotation of the device (since v2 sports additional sensors). Here is a short demo:
The (rudimentary) code can be found here: https://github.com/rbtrrnss/Puck.js-volume-control
Thanks for the awesome hardware!
© Espruino, powered by microcosm.
Report a problem