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

Dependencies:   mbed

Committer:
ojan
Date:
Thu Apr 16 08:51:04 2015 +0000
Revision:
1:2eca9b376580
???????

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 }