pull/156/head
alanbjohnston 4 years ago committed by GitHub
parent c11ded950e
commit eb9b19b73a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2094,7 +2094,7 @@ void read_payload()
// Serial.print(rotation); // Serial.print(rotation);
// Serial.print(" "); // Serial.print(" ");
// Serial.println(acceleration); // Serial.println(acceleration);
}
if (acceleration > 1.2) if (acceleration > 1.2)
led_set(greenLED, HIGH); led_set(greenLED, HIGH);
else else
@ -2103,8 +2103,9 @@ void read_payload()
if (rotation > 5) if (rotation > 5)
led_set(blueLED, HIGH); led_set(blueLED, HIGH);
else else
led_set(blueLED, LOW); led_set(blueLED, LOW);
} }
}
} }
if (Serial1.available() > 0) { if (Serial1.available() > 0) {

Loading…
Cancel
Save

Powered by TurnKey Linux.