ArduinoLearn/Difficulty 01/blink/start.h
2023-02-24 19:38:04 +03:00

14 lines
272 B
C

/*
Author: Alexander Popov
License: Unlicense
*/
void init_blink(int times, int delay_time) {
for (int count = 0; count < times; count++) {
digitalWrite(LED_BUILTIN, HIGH);
delay(delay_time);
digitalWrite(LED_BUILTIN, LOW);
delay(delay_time);
}
}