 
 bool pressed = false;
 unsigned long touchStart = 0;
+
+byte ledAmp = 0;
+byte ledShift = 0;
+int ledPeriod = 2000;
+unsigned long fadeStart = 0;
 
 void setup() {
 

  digitalWrite(pinIG1, LOW);  // 2-4
  digitalWrite(pinIG2, LOW);  // 7-6
  digitalWrite(pinST2, LOW);  // 7-8
  Serial.println("Mode: off"); Serial.flush();
}


    ST();
  }

  analogWrite(pinLed, ledShift + ledAmp * cos(2 * PI / ledPeriod * (millis() - fadeStart)));

  delay(50);

}
