This application demonstrates the use of sensor events generated by the accelerometer and/or gyroscope devices installed on an Atmel Sensors Xplained board. The application sets up the sensor event handler(s), then places the microcontroller in a low-power sleep state. When the specified sensor event occurs, the system wakes up, reads and displays sensor data, and re-enters the sleep mode. This wake/sleep cycle repeats indefinitely.
For further information, visit Atmel AVR.
Support and FAQ: https://www.microchip.com/support/