Update cubesatsim.ino

pull/153/head
alanbjohnston 4 years ago committed by GitHub
parent c20ea6526f
commit 37a6596518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2290,6 +2290,8 @@ void loop1() {
// check pushbutton // check pushbutton
int pb_value; int pb_value;
pb_value = digitalRead(MAIN_PB_PIN); pb_value = digitalRead(MAIN_PB_PIN);
Serial.print("PB: ");
Serial.println(pb_value);
if (pb_value == PRESSED) if (pb_value == PRESSED)
process_pushbutton(); process_pushbutton();
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.