i had made a little code using this library and I experienced a system restart every few hours. After searching and debuging i´ve fount that everytime i use the ping.ping eats almost 50 bytes from memory, so, i guess when it run out of memory, some wahtchdog restarte de DSP32
code :
byte x=10, y=0;
if (Ping.ping(gateway,1)) {PingCount=0; lcd.setCursor (x,y); lcd.print ((char)4);}
else {PingCount++; lcd.setCursor (x,y); lcd.print (" ");}
i had made a little code using this library and I experienced a system restart every few hours. After searching and debuging i´ve fount that everytime i use the ping.ping eats almost 50 bytes from memory, so, i guess when it run out of memory, some wahtchdog restarte de DSP32 code : byte x=10, y=0; if (Ping.ping(gateway,1)) {PingCount=0; lcd.setCursor (x,y); lcd.print ((char)4);} else {PingCount++; lcd.setCursor (x,y); lcd.print (" ");}