Connect a shield to your network.
Run the Arduino IDE.
![]()
Input the code as follows:
#include <Phpoc.h>
void setup() {
Serial.begin(9600);
while(!Serial)
;
Phpoc.begin(PF_LOG_NET);
}
void loop() {
}
Upload the code to Arduino.

Run the serial monitor.

Verify the IP address shown on the serial monitor.
