RPi turn led on if button pressed turn IF led is ON turn led off if button is pressed

前端 未结 0 1852
陌清茗
陌清茗 2020-12-03 09:41

I am trying to write some code in RPi with a led and a button. And I want the button to switch the led off and stay off if the led is on. and if the led is off and the butto

相关标签:
回答
  • 消灭零回复
提交回复
热议问题