demo project
Dependencies: AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL
Diff: IothubSerial.cpp
- Revision:
- 8:d98e2dec0f40
- Parent:
- 7:6723f6887d00
- Child:
- 13:ffeff9b5e513
--- a/IothubSerial.cpp Tue Dec 29 23:31:28 2015 +0000 +++ b/IothubSerial.cpp Thu Dec 31 17:47:55 2015 +0000 @@ -5,6 +5,7 @@ char* nametemp = "temp"; char* namevolt = "volt"; char* namedeg = "rot"; +char* nameload = "load"; IothubSerial::IothubSerial() { @@ -35,6 +36,10 @@ name = namedeg; break; + case NM_Load: + name = nameload; + break; + default: return -1; }