LPC824専用プログラム

Dependencies:   Ping SDFileSystem mbed-src

Revision:
0:2f48b11b154f
Child:
5:afba6bf6c408
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Dec 31 05:16:23 2015 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+#include "extern.h"
+#include "main.h"
+
+int main() {
+    nucleo.reply(0x00);
+    while(1) {
+        #ifdef SD_CARD
+            Sd_System();
+        #endif /*SD_CARD*/
+        
+        #ifdef ULTRA_SONIC
+            Usw_System();
+        #endif /*ULTRA_SONIC*/
+        
+        #ifdef COLOR_SENSOR
+            Color_System();
+        #endif /*COLOR_SENSOR*/
+        
+        #ifdef IR_SENSOR
+            Ir_System();
+        #endif /*IR_SENSOR*/
+    }
+}
\ No newline at end of file