Cast tube base station

Dependencies:   EALib USBDevice mbed

Files at this revision

API Documentation at this revision

Comitter:
BPPearson
Date:
Tue Jan 05 16:46:47 2016 +0000
Parent:
0:e559b5160d84
Commit message:
Cast tube base station

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r e559b5160d84 -r 240b94a8d002 main.cpp
--- a/main.cpp	Wed Dec 16 19:49:47 2015 +0000
+++ b/main.cpp	Tue Jan 05 16:46:47 2016 +0000
@@ -723,9 +723,14 @@
     displayDebugMsg("Initialising USB");
 
     static USBHID hid_object(64, 64);    // USB Initialize   
+
+    displayDebugMsg("USB initialised");
+
     hid = &hid_object;
     send_report.length = 64;
 
+    displayDebugMsg("Starting tickers");
+
     lossOfSignalTimer.attach(&checkForLossOfSignal, 2.0);   // check for loss of signal every 2 seconds
 
     updateLCD.attach(&updateDisplay, 1.0);
@@ -738,6 +743,8 @@
 
     ledInit();    // turn off all leds as initialisation complete
 
+    displayDebugMsg("while (1)");
+
     while (1) 
     {
         if (xbeeIsUp)