Check program for 9DOF stick from Sparkfun.com

Dependencies:   mbed ITG3200 HMC5843 ADXL345

no such method: docs