From eb9b19b73a46fd394306a26ba8de54a36dfe1062 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 14 Jul 2022 23:08:18 -0400 Subject: [PATCH] typo --- cubesatsim/cubesatsim.ino | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 5c0a6c22..3756b5bf 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -2094,7 +2094,7 @@ void read_payload() // Serial.print(rotation); // Serial.print(" "); // Serial.println(acceleration); - } + if (acceleration > 1.2) led_set(greenLED, HIGH); else @@ -2103,8 +2103,9 @@ void read_payload() if (rotation > 5) led_set(blueLED, HIGH); else - led_set(blueLED, LOW); - } + led_set(blueLED, LOW); + } + } } if (Serial1.available() > 0) {