LSM303DLHC compass
Posted on May 22, 2018 at 12:59I'm trying to do a compass using an LSM303DLHC sensor embedded in STM32F3 Discovery. I have prepared such a code which provides declaration and reading data from both accelerometer and magnetometervoid LSM303DLHCAcc_Co...