fix variable name

This commit is contained in:
Alexander Popov 2023-02-24 19:21:01 +03:00
parent b2751e2d24
commit 1e68534290
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C

View File

@ -45,12 +45,12 @@ void setup() {
в функции `delay()`, а можно сделать это более элегатно, добавив аргумет.
```c
void init_blink(int times, int delay) {
void init_blink(int times, int delay_time) {
for (int count = 0; count < times; count++) {
digitalWrite(LED_BUILTIN, HIGH);
delay(delay);
delay(delay_time);
digitalWrite(LED_BUILTIN, LOW);
delay(delay);
delay(delay_time);
}
}
```