From 348d6ba3c7d5f351df27b4b1a3512ca681a3614e Mon Sep 17 00:00:00 2001 From: MrDham <32593747+MrDham@users.noreply.github.com> Date: Sat, 21 Oct 2017 16:40:41 +0200 Subject: [PATCH] Add files via upload --- Open_Theremin_V3/application.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Open_Theremin_V3/application.cpp b/Open_Theremin_V3/application.cpp index 0caf8ca..f84f45c 100644 --- a/Open_Theremin_V3/application.cpp +++ b/Open_Theremin_V3/application.cpp @@ -217,7 +217,8 @@ void Application::loop() { if (_state == CALIBRATING && timerExpired(15000)) { - HW_LED2_ON; + HW_LED1_OFF; HW_LED2_ON; + playStartupSound(); @@ -241,7 +242,7 @@ void Application::loop() { }; _mode=NORMAL; - HW_LED2_OFF; + HW_LED1_ON;HW_LED2_OFF; while (HW_BUTTON_PRESSED) ; // NOP @@ -344,8 +345,6 @@ static long pitchfn1 = 0; static long pitchfn = 0; - HW_LED1_OFF; - HW_LED2_ON; InitialisePitchMeasurement(); interrupts(); @@ -459,8 +458,6 @@ HW_LED2_TOGGLE; EEPROM.put(2,volumeXn0); - HW_LED2_OFF; - HW_LED1_ON; }