*Arduino* Using a push button to power LEDs with if/else statement

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ค. 2024
  • If you like this video and want to help support the channel, give this video a like, subscribe to the channel and turn on notifications!
    We're back with another Arduino video and this time, we're taking a look at what a push button is, how the pins are arranged, connecting them to two LEDs and using an if/else statement to control what the LEDs do. This is a simple demonstration on the power of if/else statements and using what you learn here, there is so much more you can do such as connecting the button to a speaker, motor, LCD screen, etc!
    If you have any questions, feel free to drop them below in the comments. Thanks for watching!

ความคิดเห็น •