Temperature dashboard assignment
Dependencies: EthernetInterface LM75B mbed-rtos mbed
Fork of temperature-dashboard-start by
TempDashSocketConnection.cpp@17:c8a4886ba688, 2016-01-16 (annotated)
- Committer:
- gimohd
- Date:
- Sat Jan 16 17:13:41 2016 +0000
- Revision:
- 17:c8a4886ba688
- Child:
- 18:61724d00e95d
upload
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gimohd | 17:c8a4886ba688 | 1 | |
gimohd | 17:c8a4886ba688 | 2 | #include "EthernetInterface.h" |
gimohd | 17:c8a4886ba688 | 3 | #include "TempDashSocketConnection.h" |
gimohd | 17:c8a4886ba688 | 4 | |
gimohd | 17:c8a4886ba688 | 5 | void TempDashSocketConnection::sendSensorData(std::string data){ |
gimohd | 17:c8a4886ba688 | 6 | const char * c = data.c_str(); |
gimohd | 17:c8a4886ba688 | 7 | send(const_cast<char*>(data.c_str()),data.length()); |
gimohd | 17:c8a4886ba688 | 8 | } |