DeviceMotion Demo

This example demonstrates how to use the HTML5 DeviceMotion API to set the values of an RGBLED from a mobile device