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@19:2f0ec9ac1238, 2016-01-23 (annotated)
- Committer:
- henryrawas
- Date:
- Sat Jan 23 00:20:27 2016 +0000
- Revision:
- 19:2f0ec9ac1238
- Parent:
- 18:224289104fc0
- Child:
- 21:051751f9ca9e
licenses
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| henryrawas | 19:2f0ec9ac1238 | 1 | // Copyright (c) Microsoft. All rights reserved. |
| henryrawas | 19:2f0ec9ac1238 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| henryrawas | 4:36a4eceb1b7f | 3 | |
| henryrawas | 4:36a4eceb1b7f | 4 | #ifndef IOTHUB_ROBOTARM_H |
| henryrawas | 4:36a4eceb1b7f | 5 | #define IOTHUB_ROBOTARM_H |
| henryrawas | 4:36a4eceb1b7f | 6 | |
| henryrawas | 4:36a4eceb1b7f | 7 | #include "iothub_client.h" |
| henryrawas | 18:224289104fc0 | 8 | |
| 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 | 13:ffeff9b5e513 | 20 | void SendMessage(void); |
| henryrawas | 4:36a4eceb1b7f | 21 | |
| henryrawas | 4:36a4eceb1b7f | 22 | private: |
| henryrawas | 4:36a4eceb1b7f | 23 | |
| henryrawas | 18:224289104fc0 | 24 | IothubSerial _msgSerialize; |
| henryrawas | 4:36a4eceb1b7f | 25 | }; |
| henryrawas | 4:36a4eceb1b7f | 26 | |
| henryrawas | 4:36a4eceb1b7f | 27 | extern bool StartIothubThread(); |
| henryrawas | 4:36a4eceb1b7f | 28 | |
| henryrawas | 4:36a4eceb1b7f | 29 | extern void EndIothubThread(); |
| henryrawas | 4:36a4eceb1b7f | 30 | |
| henryrawas | 4:36a4eceb1b7f | 31 | #endif /* IOTHUB_ROBOTARM_H */ |