 void setup() {
   Serial.begin(9600);
   pinMode(IFTTT_IN, INPUT);
-  pinMode(OSC_OUT, OUTPUT);
   pinMode(SENSOR_IN, INPUT);
   pinMode(SWITCH_IN, INPUT);
+  pinMode(OSC_OUT, OUTPUT);
+  pinMode(BUZZ_OUT, OUTPUT);
   analogWrite(OSC_OUT, 0);
-  digitalWrite(BUZZ_OUT, LOW);
-  analogWrite(DBG_OUT, 0);
+  analogWrite(BUZZ_OUT, 0);
 }
 
 // the main event loop

}

boolean isEnabled() {
  printDebug(35);
  return digitalRead(SWITCH_IN) == HIGH && digitalRead(SENSOR_IN) == LOW;
}

void printDebug(int code) {

const int SENSOR_IN = A0;
const int SWITCH_IN = A1;
const int OSC_OUT = 5;
const int BUZZ_OUT = 9;

// melody notes
#define _0 0
