Update cubesatsim.ino

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

@ -2288,7 +2288,8 @@ void loop1() {
delay(5); //2 1);
// check pushbutton
int pb_value = digitalRead(MAIN_PB_PIN);
int pb_value;
pb_value = digitalRead(MAIN_PB_PIN);
if (pb_value == PRESSED) {
if (pb_state == RELEASED) {
pb_press_start = millis();

Loading…
Cancel
Save

Powered by TurnKey Linux.