📅  最后修改于: 2022-03-11 14:44:45.488000             🧑  作者: Mango
void millisdelay(long intervaltime) {
long thetimenow = millis();
while (millis() < thetimenow + intervaltime)
{
// nothing but wait
}
}
millisdelay(5000); // delay 5000 seconds