Open this program in the mbed Compiler, where you can edit it and compile it for your hardware.
Download this program as .zip file.
AHRS,
navigation,
sensors
geo,
GPS,
latitude,
longitude,
navigation
debounce,
DigitalIn,
InterruptIn
polling,
scheduling,
timing
filter
compass,
LSM303DLH,
magnetometer,
sensors