From df72e84e541f970f88bd17f5b69bac5b8df2dd29 Mon Sep 17 00:00:00 2001 From: EmaMaker Date: Tue, 2 Apr 2024 21:57:07 +0200 Subject: [PATCH] turn LED off when setup is finished --- selfbalance-madgwick/selfbalance-madgwick.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfbalance-madgwick/selfbalance-madgwick.ino b/selfbalance-madgwick/selfbalance-madgwick.ino index a0163b0..0cc586b 100644 --- a/selfbalance-madgwick/selfbalance-madgwick.ino +++ b/selfbalance-madgwick/selfbalance-madgwick.ino @@ -58,6 +58,8 @@ void setup() { //pitchCtrl.setWindUpLimits(-10, 10); pitchCtrl.setSampleTime(1); pitchCtrl.start(); + + digitalWrite(LED_BUILTIN, LOW); } void setup1(){