18 lines
398 B
C++
18 lines
398 B
C++
const int OUT = LED_BUILTIN; // Ausgangs pin
|
|
const int TIME_ON = 5000; //länge des Pulses
|
|
const int TIME_OFF = 10000; //zeit zwischen den Pulsen in MS
|
|
|
|
|
|
void setup() {
|
|
// put your setup code here, to run once:
|
|
pinMode(OUT, OUTPUT);
|
|
}
|
|
|
|
void loop() {
|
|
// put your main code here, to run repeatedly:
|
|
digitalWrite(OUT, HIGH);
|
|
delay(TIME_ON);
|
|
digitalWrite(OUT, LOW);
|
|
delay(TIME_OFF);
|
|
}
|