LPC824専用プログラム

Dependencies:   Ping SDFileSystem mbed-src

main.cpp

Committer:
lilac0112_1
Date:
2016-02-25
Revision:
16:f0d3e58b3ca5
Parent:
7:9b1ac6fbf32c

File content as of revision 16:f0d3e58b3ca5:

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

int main() {
    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*/
    }
}