N
N
NikitaWeb2021-09-29 14:03:13
Arduino
NikitaWeb, 2021-09-29 14:03:13

How to flash an LED three times using attachinterrupt() external interrupt?

It is necessary, using attachinterrupt(), to blink the LED three times when pressing the central button
615447e81ad9c474511843.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Zaitsev, 2021-09-29
@KonstantineZ

Set the blinking flag in the interrupt handler, check the flag in the loop and blink if the flag is set.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question