Basic example showing how to use the Compass (LSM303 device with Accelerometer and Magnetometer) present on DISCO_L476VG board.

Dependencies:   BSP_DISCO_L476VG COMPASS_DISCO_L476VG

Auto generated API documentation and code listings for DISCO_L476VG_Compass

Code

main.cpp [code]