CDMS code for testing sbc
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: main.cpp
- Revision:
- 110:e5091ab345de
- Parent:
- 109:78f2912e3473
- Child:
- 116:8f431a8bbe82
--- a/main.cpp Tue Jan 26 14:15:04 2016 +0000 +++ b/main.cpp Thu Feb 04 14:02:12 2016 +0000 @@ -24,9 +24,6 @@ int main() { - #if DEBUG - gPC.puts("welcome to mng_tmtc\r\n"); - #endif //gLEDR = 1; // ******************INITIALISATIONS START****************** @@ -42,7 +39,9 @@ // DEBUG //gPC.puts("welcome to mng_tm_tc\r\n"); gPC.baud(1200); - + #if DEBUG + gPC.puts("welcome to mng_tmtc\r\n"); + #endif // COMMON SPI spi.format(8,0); spi.frequency(1000000);