ジャパンオープン用のLPC824専用プログラム
Dependencies: mbed-src Ping SDFileSystem
Diff: main/main.cpp
- Revision:
- 0:6c79a352010b
- Child:
- 1:ea7307724f1c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main/main.cpp Sat Feb 27 06:35:13 2016 +0000 @@ -0,0 +1,24 @@ +#include "mbed.h" +#include "extern.h" +#include "main.h" + +int main() { + while(1) { + + #ifdef SD_CARD + Sd_System(); + #endif /*SD_CARD*/ + + #if defined(ULTRA_SONIC) || defined(ULTRA_SONIC_2) + Usw_System(); + #endif /*(ULTRA_SONIC) || (ULTRA_SONIC_2)*/ + + #ifdef COLOR_SENSOR + Color_System(); + #endif /*COLOR_SENSOR*/ + + #ifdef IR_SENSOR + Ir_System(); + #endif /*IR_SENSOR*/ + } +} \ No newline at end of file