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: TSI USBDevice mbed-dev
Fork of SmartWheels by
Diff: PCConnector/SWUSBServer.h
- Revision:
- 16:66c7a09e71ee
- Parent:
- 13:7dcb1642ef99
- Child:
- 18:bf6c5f8281eb
diff -r 7dcb1642ef99 -r 66c7a09e71ee PCConnector/SWUSBServer.h
--- a/PCConnector/SWUSBServer.h Wed Feb 08 23:47:02 2017 +0000
+++ b/PCConnector/SWUSBServer.h Fri Feb 10 03:23:20 2017 +0000
@@ -12,9 +12,9 @@
#define HANDSHAKE_MSG_TER "SMARTWHEELS_HANDSHAKE_TERMINAL"
#define HANDSHAKE_MSG_PC "SMARTWHEELS_HANDSHAKE_PC"
+#define TICKING_MSG "TICK"
#include <mbed.h>
-#include <USBHID.h>
#include <rtos.h>
#include <list>
#include <string>
@@ -52,6 +52,8 @@
Mutex m_qlocker;
+ float m_tickMsgTimer;
+
void RunningThread();
void ConnectingThread();
