I tried various options here but couldn’t seem to figure out how to find the local IP address of my Spark Core.
Any help?
If you have serial debugging setup you can do it as follows:
Serial.print("-Local IP: ");
Serial.println(Network.localIP());
2 Likes
Also check this part of the doc out for more network related functions.
http://docs.spark.io/firmware/#connection-management-network
2 Likes
Thank you
That helped a lot
2 Likes
NP, I have that amongst a few other things print in the setup of ever sketch.