To install the drivers and AHRS sketch for your breakout, you simply need to install the Adafruit_AHRS library and it's dependencies on your PC (the exact dependencies you choose will depend on which IMU board you are currently using).
We've put together a tutorial showing you everything you need to do to install dependent libraries if you're just getting started with your breakout. Follow the guide below to install the right libraries depending on which board you are using:
- Adafruit 10-DOF IMU Installation Guide
- Adafruit 9-DOF IMU Installation Guide
- Adafruit LSM9DS0 IMU Installation Guide
In addition to the dependencies above, make sure to install the Adafruit_AHRS library. You can do that via the Arduino Library Manager.
Open up the Arduino Library manager:
Search for the Adafruit AHRS library and install it
Once the repository has been added to your libraries folder ("/libraries/Adafruit_AHRS/", etc.) you should be able to access the AHRS examples from 'File > Examples > Adafruit_AHRS' in the Arduino IDE. There should be an ahrs_9dof, ahrs_10dof, and ahrs_lsm9ds0 exampe.
Pick the appropriate example for your board, for example the ahrs_10dof example should be used with the 10-DOF board:
Now close the Serial Monitor and read on to the next page to do something useful with this data!