30122025---685.228
---Kleinrechner.Arduino.Drehzahlmesser mit dem Nano-Nachbau. Blinker.

void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN , HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(30);                      // wait for 30msec
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(30);                      // wait for 30msec
}

// Ergibt 600msec für eine Umdrehung ---> ergibt 1000 Umdrehungen je 60 Sekunden