MPU6050のサンプルプログラム2
Dependencies: ConfigFile SDFileSystem mbed
Fork of LAURUS_program by
ErrorLogger.cpp
- Committer:
- ojan
- Date:
- 2015-06-11
- Revision:
- 4:45dc5590abc0
- Parent:
- 0:bc6f14fc60c7
File content as of revision 4:45dc5590abc0:
#include "ErrorLogger.h" void InitLogger(Serial* dp) { if(debugPort == dp) return; debugPort = dp; } void AbortWithMsg(const char* msg) { while(!debugPort->writeable()); debugPort->printf(msg); abort(); }