odelot / aws-mqtt-websockets

Implementation of a middleware to use AWS MQTT service through websockets, aiming the ESP8266 plataform
GNU Lesser General Public License v3.0
231 stars 67 forks source link

DHT example, return pointer to const char #19

Closed rileyschuit closed 7 years ago

rileyschuit commented 7 years ago

Added an example of using a DHT sensor. The value is put together to publish versus a static string given in the original example.