read acceleration and angler ratio from mpu6050 and estimate pitch and roll angle

Dependencies:   mbed

Committer:
ojan
Date:
Wed May 13 04:02:27 2015 +0000
Revision:
3:40559ebef0f1
Parent:
1:2eca9b376580
estimate gravity vector & geomagnetic vector

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ojan 1:2eca9b376580 1 #include "ErrorLogger.h"
ojan 1:2eca9b376580 2
ojan 1:2eca9b376580 3 void InitLogger(Serial* dp) {
ojan 1:2eca9b376580 4 if(debugPort == dp) return;
ojan 1:2eca9b376580 5 debugPort = dp;
ojan 1:2eca9b376580 6 }
ojan 1:2eca9b376580 7
ojan 1:2eca9b376580 8 void AbortWithMsg(const char* msg) {
ojan 1:2eca9b376580 9 debugPort->printf(msg);
ojan 1:2eca9b376580 10 abort();
ojan 1:2eca9b376580 11 }