MPU6050のサンプルプログラム2

Dependencies:   ConfigFile SDFileSystem mbed

Fork of LAURUS_program by LAURUS

Revision:
23:79cdc1432160
Parent:
3:5358a691a100
--- a/Matrix/Matrix.h	Tue Jun 23 15:23:38 2015 +0000
+++ b/Matrix/Matrix.h	Wed Jun 24 16:16:14 2015 +0000
@@ -1,5 +1,5 @@
 #pragma once
-#include "ErrorLogger.h"
+#include "mbed.h"
 
 class Matrix
 {
@@ -92,7 +92,7 @@
     }
 
     inline float GetComp(int rowNo, int colNo) const {
-        if (rowNo > row || colNo > col) AbortWithMsg("Index Out of Bounds Error !!");
+        if (rowNo > row || colNo > col) error("Index Out of Bounds Error !!");
         return components[(rowNo-1)*col + (colNo-1)];
     }