added sleep

pull/152/head
alanbjohnston 4 years ago committed by GitHub
parent 4929e4ed24
commit b5effd1a39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -643,3 +643,11 @@ float toAprsFormat(float input) {
float output = dd * 100 + mm1 + (float)mm2 * 0.01;
return(output);
}
sleep(int time) {
int startSleep = millis();
while ((millis() - startSleep) < time)
delay(100);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.