   digitalWrite(pinIG1, HIGH); // 2-4
   digitalWrite(pinIG2, HIGH); // 7-6
   digitalWrite(pinST2, HIGH); // 7-8
-  ledShift = 127; ledAmp = 128;
-  ledPeriod = 250; fadeStart = millis();
+  ledShift = 128; ledAmp = 127;
+  ledPeriod = 500; fadeStart = millis();
   Serial.println("Mode: engine start"); Serial.flush();
 }
 

  digitalWrite(pinIG1, HIGH); // 2-4
  digitalWrite(pinIG2, HIGH); // 7-6
  digitalWrite(pinST2, LOW);  // 7-8
  ledShift = 0; ledAmp = 255;
  Serial.println("Mode: ignition on"); Serial.flush();
}


    ST();
  }

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

  delay(50);

