todbot / circuitpython-tricks

Some CircuitPython tricks, mostly reminders to myself
MIT License
620 stars 67 forks source link

Ping an IP address , If the time is shorter than 0.4s, there will be a fault. #10

Closed Wind-stormger closed 2 years ago

Wind-stormger commented 2 years ago

I tried the code in this chapter Ping an IP address on an esp32s3, with circuitpython 8.0.0 . When the time.sleep(1) is less than 0.4s, there is a great probability that the board will restart.

todbot commented 2 years ago

This sounds like a bug in CircuitPython. You should file an issue there.