You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Delay of 3 seconds before ping() on COM port is too short #2
When the board is connected through the Seeedstudio USART it gets reset when the serial port is opened, and can take up to 20 seconds to wake up and respond to the ping(). Possible fix in openPort():
if (!check) return true;
for (int tries=0; tries < 6; tries++) {
if (ping()) {
return true;
}
sleep(1000);
}
Activity
rngtng commentedon Aug 30, 2010
cool, thx, I'll consider it with next release...