Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EALib USBDevice mbed
Revision 1:240b94a8d002, committed 2016-01-05
- 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 |
--- 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)