I just added a change to firmware so you can turn any Printable
into a String (IPAddress is Printable):
IPAddress myIP = WiFi.localIP();
Spark.publish("LocalIP", String(myIP), PRIVATE);
This will be in the 0.4.5 release, due out on 2 Sept.
I just added a change to firmware so you can turn any Printable
into a String (IPAddress is Printable):
IPAddress myIP = WiFi.localIP();
Spark.publish("LocalIP", String(myIP), PRIVATE);
This will be in the 0.4.5 release, due out on 2 Sept.