You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
274 B
13 lines
274 B
//Rychlá ukázka pro for cyklus nebo test arduina
|
|
void setup() {
|
|
pinMode(LED_BUILTIN, OUTPUT);
|
|
}
|
|
void loop() {
|
|
for (int i = 502; i > 5; i -= 10) {
|
|
digitalWrite(LED_BUILTIN, HIGH);
|
|
delay(i);
|
|
digitalWrite(LED_BUILTIN, LOW);
|
|
delay(i);
|
|
}
|
|
delay(1000);
|
|
}
|
|
|