- Processing 2.x
- Saito's OBJ Loader library for Processing (installation tips here)
- G4P GUI library for Processing (download the latest version here and copy the zip into the processing libraries folder like the tip for the OBJ loader library above mentions).
The processing sketch to render the 3D model is contained in the sample folder as the ahrs sketch for the Uno.
With Processing open, navigate to you Adafruit_AHRS library folder (ex.: 'libraries/Adafruit_AHRS'), and open 'processing/bunnyrotate/bunnyrotate.pde'. You should see something like this in Processing:
Make sure that the appropriate AHRS example sketch is running on the Uno (as described on the previous page), and that the Serial Monitor is closed.
With the sample sketch running on the Uno, click the triangular 'play' icon in Processing to start the sketch.
As you rotate your breakout board, the rabbit should rotate to reflect the movement of the breakout in 3D-space, as seen in the video below (note that this video is using an older version of the cuberotate example and won't look exactly like what you see now):