Watch
1
0
Fork
You've already forked rc-micro
0
rc-micro/03-led-on-off-buttons
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-18 17:59:23 +02:00
..
03-led-on-off-buttons.ino Add the experiment for turning on/off a led 2024-10-18 17:59:23 +02:00
main.py Add the experiment for turning on/off a led 2024-10-18 17:59:23 +02:00
README.md Add the experiment for turning on/off a led 2024-10-18 17:59:23 +02:00

Turn on/off a led using two buttons

When a button is pressed we turn on the led, pressing the other one will turn off the led. The led maintains the state after releasing the buttons.