ジャパンオープン用のLPC824専用プログラム

Dependencies:   mbed-src Ping SDFileSystem

main/main.cpp

Committer:
lilac0112_1
Date:
2016-03-27
Revision:
8:7b9d70751bdf
Parent:
1:ea7307724f1c

File content as of revision 8:7b9d70751bdf:

#include "mbed.h"
#include "extern.h"
#include "main.h"

int main() {
    while(1) {
        
        #if defined(ULTRA_SONIC) || defined(ULTRA_SONIC_2)
            Usw_System();
        #endif /*(ULTRA_SONIC) || (ULTRA_SONIC_2)*/
        
        #ifdef IR_SENSOR
            Ir_System();
        #endif /*IR_SENSOR*/
    }
}