check for input every 4 sec

pico-payload
alanbjohnston 3 years ago committed by GitHub
parent 5624cb532a
commit 30bd1e368c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -355,8 +355,12 @@ void loop() {
Serial.print("\nLoop time: ");
Serial.println(millis() - startSleep);
}
#ifdef APRS_VHF
sleep(25.0);
#ifdef APRS_VHF
for (int i = 0; i < 5; i++) {
sleep(4.0);
get_input();
}
// update latitude and longitude
// latitude = latitude + 0.01;
// longitude = longitude + 0.01;

Loading…
Cancel
Save

Powered by TurnKey Linux.