Update cubesatsim.ino

pull/161/head
alanbjohnston 4 years ago committed by GitHub
parent 1f93d47af3
commit 0f4558688b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2364,7 +2364,9 @@ void setup1() {
} }
void loop1() { void loop1() {
Serial.println("Starting loop1"); Serial.print("l1 ");
Serial.print(wav_position);
Serial.print(" ");
if (mode == FSK) if (mode == FSK)
{ {
@ -2398,8 +2400,8 @@ void loop1() {
// Serial.print("PB: "); // Serial.print("PB: ");
// Serial.println(pb_value); // Serial.println(pb_value);
// if (pb_value == PRESSED) // if (pb_value == PRESSED)
if (digitalRead(MAIN_PB_PIN) == PRESSED) /// if (digitalRead(MAIN_PB_PIN) == PRESSED)
process_pushbutton(); /// process_pushbutton();
} }
/* /*

Loading…
Cancel
Save

Powered by TurnKey Linux.