read acceleration and angler ratio from mpu6050 and estimate pitch and roll angle
Dependencies: mbed
Diff: ErrorLogger.h
- Revision:
- 1:2eca9b376580
diff -r 5e220b09d315 -r 2eca9b376580 ErrorLogger.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ErrorLogger.h Thu Apr 16 08:51:04 2015 +0000 @@ -0,0 +1,13 @@ +#pragma once +#include "mbed.h" + +static Serial* debugPort = 0; + +void InitLogger(Serial* dp); + +/* + エラーメッセージを送信してプログラムを中断する + 引数: +*/ + +void AbortWithMsg(const char* msg); \ No newline at end of file