I'd start try to use it as compass, before implementing anything else.
The compass on my smartphone (and an so many others, cheap and expensive) is not accurate at all, not moving when turning the smartphone and suddenly jumping back. Maybe it's just overcompensated, or whatever. I wouldn't use my smartphone compass to control volume up and down. Maybe puckjs is better.
© Espruino, powered by microcosm.
Report a problem