Question
stm32f3discovery read gyro acc mag data take long time
Posted on March 18, 2015 at 05:47
I have a stm32f3discovery board,I want read the sensor's data, I use the driver in demo, but it take about 700 mseconds to get it, is this normal? but i want to handle these data under 20Hz.
seconds0 = millis(); seconds = seconds0 - seconds1; if (seconds >= 5) { sprintf(output, ''seconds is %d'', seconds); uartPrint(output); GyroReadAngRate(gyro); CompassReadMag(mag); CompassReadAcc(acc); seconds1 = seconds0; }