 // Timer
 Timer t;
 long temp_Mills;
+long pir_Mills;
 int tvIsOnEvent;
 int tvIsOffEvent;
 

  digitalWrite(SETUP_IN_PIN, HIGH);
  digitalWrite(WRK_MODE_IN_PIN, HIGH);

  pinMode(PIR_IN_PIN, INPUT);

  // buzzer
  pinMode(BZ_OU_PIN, OUTPUT);
  digitalWrite(BZ_OU_PIN, HIGH);

  delay(3000);

  // PIR
  attachInterrupt(0, PIRCHECKING, CHANGE);

        default:
          return;
          break;

      }
    }
  } else {
