This is an application illustrating a few basic examples on how to use the Common Sensor API and Font support facilities in the AVR Software Framework.
This example has been developed and tested on the XMEGA-A3BU Xplained evaluation kit with a Sensors Xplained Inertial 1 board (ATAVRSBIN1) fitted to the J1 and J2 expansion blocks.
Upon power up the example application will display brief text greeting on the LCD before sampling and printing formatted data obtained from the sensors on the ATAVRSBIN1 board.
Data from only one particular sensor is shown. Use the SW1
button on the evaluation kit board to cycle through outputs from different sensors. The 3-axis accelerometer values are initially displayed when the board is powered up. Pressing SW1
will cycle through displays showing data for the gyroscope, electronic compass and finally the temperature sensor before returning again to the accelerometer output display
Relevant module dependencies for this application are:
This software was written for the GNU GCC and IAR for AVR. Other compilers may or may not work.
For further information, visit Microchip.
Support and FAQ: https://www.microchip.com/support/