Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <WiFiUdp.h>
- WiFiUDP udp;
- const uint16_t port = 8888;
- const char * host = "192.168.1.33";
- line = String("temperature,device=downstairs value=" + String(Temp));
- udp.beginPacket(host,port);
- udp.print(line);
- udp.endPacket();
- udp.stop();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement