
Temperature dashboard assignment
Dependencies: EthernetInterface LM75B mbed-rtos mbed
Fork of temperature-dashboard-start by
Diff: TempDashSocketConnection.cpp
- Revision:
- 17:c8a4886ba688
- Child:
- 18:61724d00e95d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TempDashSocketConnection.cpp Sat Jan 16 17:13:41 2016 +0000 @@ -0,0 +1,8 @@ + +#include "EthernetInterface.h" +#include "TempDashSocketConnection.h" + +void TempDashSocketConnection::sendSensorData(std::string data){ + const char * c = data.c_str(); + send(const_cast<char*>(data.c_str()),data.length()); +} \ No newline at end of file