Posted on July 26, 2016 at 06:19Should my program get 1000 mg when F3 Discovery Board is in steady state on a horizontal surface? Measurement range = [-2g;+2g]; Linear Axeleration Sensitivity = 1mg/LSB; High Resolution Mode I get 15344 mg (0x3BF0) a...
Posted on July 03, 2016 at 14:04
Sample program to get accelerometer data.
#include ''stm32f3xx.h'' // Device header
void
initSystem()
{
// LSM303DLHC wiring: SCL to PB6, SDA to PB7.
// Enable port B timing and set pins to alternat...