0 votes
by (3.7k points)
How do you turn on a LED with a button?

1 Answer

0 votes
by (2.9k points)
To turn on an LED, the Arduino needs to send a HIGH signal to one of it's pins. To turn off the LED, it needs to send a LOW signal to the pin. You can make the LED flash by changing the length of the HIGH and LOW states.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked May 26, 2020 by anodes (200 points)
...