Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- navigator.accelerometer.watchAcceleration(function(acc) {
- console.log(acc.x);
- console.log(acc.y);
- console.log(acc.z); }, {frequency:1000});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement