Add files via upload

pull/3/head
MrDham 7 years ago committed by GitHub
parent 6ce6f70b81
commit 348d6ba3c7
  1. 9
      Open_Theremin_V3/application.cpp

@ -217,7 +217,8 @@ void Application::loop() {
if (_state == CALIBRATING && timerExpired(15000)) if (_state == CALIBRATING && timerExpired(15000))
{ {
HW_LED2_ON; HW_LED1_OFF; HW_LED2_ON;
playStartupSound(); playStartupSound();
@ -241,7 +242,7 @@ void Application::loop() {
}; };
_mode=NORMAL; _mode=NORMAL;
HW_LED2_OFF; HW_LED1_ON;HW_LED2_OFF;
while (HW_BUTTON_PRESSED) while (HW_BUTTON_PRESSED)
; // NOP ; // NOP
@ -344,8 +345,6 @@ static long pitchfn1 = 0;
static long pitchfn = 0; static long pitchfn = 0;
HW_LED1_OFF;
HW_LED2_ON;
InitialisePitchMeasurement(); InitialisePitchMeasurement();
interrupts(); interrupts();
@ -459,8 +458,6 @@ HW_LED2_TOGGLE;
EEPROM.put(2,volumeXn0); EEPROM.put(2,volumeXn0);
HW_LED2_OFF;
HW_LED1_ON;
} }

Loading…
Cancel
Save