initial Commit
This commit is contained in:
parent
d75c170dea
commit
228376e2bc
17
clockGenerator/clockGenerator.ino
Normal file
17
clockGenerator/clockGenerator.ino
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
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);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user