Returns the IP address of the device.
Phpoc.localIP()
none
the IP address of the device (IPAdress).
#include <SPI.h>
#include <Phpoc.h>
void setup()
{
Serial.begin(9600);
if(Phpoc.begin() == 0)
{
Serial.println("Failed to initialize Network");
for(;;)
;
}
Serial.println(Phpoc.localIP());
}
void loop()
{
}