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

Dependencies:   ConfigFile SDFileSystem mbed

Fork of LAURUS_program by LAURUS

Revision:
2:d2b60a1d0cd9
Parent:
1:6cd6d2760856
Child:
3:5358a691a100
--- a/main.cpp	Sun May 24 17:32:47 2015 +0000
+++ b/main.cpp	Sun May 24 17:44:11 2015 +0000
@@ -56,6 +56,7 @@
     g.SetComp(2, 0.0f);
     g.SetComp(3, 1.0f);
     
+    /* ---------- ↓↓↓ ここからメインループ ↓↓↓ ---------- */
     while(1) {
         
         // 1秒おきにセンサーの出力をpcへ出力
@@ -78,6 +79,8 @@
         INT_flag = TRUE;            // 割り込み許可
         
     }
+    
+    /* ---------- ↑↑↑ ここまでメインループ ↑↑↑ ---------- */
 }
 
 void INT_func() {