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: AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL
IothubRobotArm.h@7:6723f6887d00, 2015-12-29 (annotated)
- Committer:
- henryrawas
- Date:
- Tue Dec 29 23:31:28 2015 +0000
- Revision:
- 7:6723f6887d00
- Parent:
- 5:36916b1c5a06
- Child:
- 13:ffeff9b5e513
motion block alerts, more commands
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| henryrawas | 4:36a4eceb1b7f | 1 | /* |
| henryrawas | 4:36a4eceb1b7f | 2 | Copyright (c) 2015 Jonathan Pickett & Microsoft. Some appropriate open source license. |
| henryrawas | 4:36a4eceb1b7f | 3 | */ |
| henryrawas | 4:36a4eceb1b7f | 4 | |
| henryrawas | 4:36a4eceb1b7f | 5 | #ifndef IOTHUB_ROBOTARM_H |
| henryrawas | 4:36a4eceb1b7f | 6 | #define IOTHUB_ROBOTARM_H |
| henryrawas | 4:36a4eceb1b7f | 7 | |
| henryrawas | 4:36a4eceb1b7f | 8 | #include "iothub_client.h" |
| henryrawas | 4:36a4eceb1b7f | 9 | #include "IothubSerial.h" |
| henryrawas | 4:36a4eceb1b7f | 10 | |
| henryrawas | 4:36a4eceb1b7f | 11 | class IothubRobotArm |
| henryrawas | 4:36a4eceb1b7f | 12 | { |
| henryrawas | 4:36a4eceb1b7f | 13 | public: |
| henryrawas | 4:36a4eceb1b7f | 14 | IothubRobotArm(); |
| henryrawas | 4:36a4eceb1b7f | 15 | |
| henryrawas | 4:36a4eceb1b7f | 16 | bool Init(); |
| henryrawas | 4:36a4eceb1b7f | 17 | |
| henryrawas | 4:36a4eceb1b7f | 18 | void Terminate(); |
| henryrawas | 4:36a4eceb1b7f | 19 | |
| henryrawas | 4:36a4eceb1b7f | 20 | void SendMeasurements(void); |
| henryrawas | 4:36a4eceb1b7f | 21 | |
| henryrawas | 4:36a4eceb1b7f | 22 | private: |
| henryrawas | 4:36a4eceb1b7f | 23 | |
| henryrawas | 4:36a4eceb1b7f | 24 | IothubSerial msgSerialize; |
| henryrawas | 4:36a4eceb1b7f | 25 | }; |
| henryrawas | 4:36a4eceb1b7f | 26 | |
| henryrawas | 4:36a4eceb1b7f | 27 | extern bool StartIothubThread(); |
| henryrawas | 4:36a4eceb1b7f | 28 | |
| henryrawas | 7:6723f6887d00 | 29 | extern bool SendIothubData(); |
| henryrawas | 4:36a4eceb1b7f | 30 | |
| henryrawas | 4:36a4eceb1b7f | 31 | extern void EndIothubThread(); |
| henryrawas | 4:36a4eceb1b7f | 32 | |
| henryrawas | 4:36a4eceb1b7f | 33 | #endif /* IOTHUB_ROBOTARM_H */ |