replaces CDU_Mbed_26

Dependencies:   4DGL MODSERIAL mbed mbos

Fork of CDU_Mbed_26 by Engravity-CDU

Revision:
17:b3545e9d38f7
Parent:
14:5767d651d624
--- a/main.cpp	Tue Aug 26 14:02:48 2014 +0000
+++ b/main.cpp	Tue Aug 26 14:18:39 2014 +0000
@@ -7,17 +7,18 @@
 #include "MODSERIAL.h"
 #include "mbos.h"
 #include "mbos_def2.h"   // : Mbos tasks, timer and resource definitions
+#include "pins.h"
 
 // Setup USB communication defined by Mbed USB TX and RX lines
 // with TX and RX ringbuffers :
 MODSERIAL USB(USBTX, USBRX, 256, 1024);
-DigitalOut alive_led(LED1); // : LED 1 on Mbed board toggles when CDU is alive
+DigitalOut alive_led( HEARTBEAT ); // : LED 1 on Mbed board toggles when CDU is alive
 
 //void test_update_flags(); // << for testing only << !!!!!!!
 
 // --- Debug only ----------------------------------------
 // extra serial port to show debug info :
-  MODSERIAL SERIAL_DEBUG(p9, p10, 512, 64);  //: tx, rx
+  MODSERIAL SERIAL_DEBUG(MODSERIAL_TX, MODSERIAL_RX, 512, 64);  //: tx, rx
 // -------------------------------------------------------
 
 int CDU_FS_interface = 0;   // : defines interface to FS: 0 = USB, 1 = Ethernet