LPC824専用プログラム
Dependencies: Ping SDFileSystem mbed-src
Diff: main.cpp
- Revision:
- 7:9b1ac6fbf32c
- Parent:
- 6:79dc74e4926a
- Child:
- 16:f0d3e58b3ca5
diff -r 79dc74e4926a -r 9b1ac6fbf32c main.cpp --- a/main.cpp Tue Jan 12 14:59:09 2016 +0000 +++ b/main.cpp Fri Jan 15 15:30:57 2016 +0000 @@ -1,9 +1,10 @@ #include "mbed.h" #include "extern.h" #include "main.h" + int main() { - nucleo.reply(0x00); while(1) { + #ifdef SD_CARD Sd_System(); #endif /*SD_CARD*/ @@ -17,7 +18,7 @@ #endif /*COLOR_SENSOR*/ #ifdef IR_SENSOR - Ir_System2(); + Ir_System(); #endif /*IR_SENSOR*/ } } \ No newline at end of file