Raspberry PI, 1 LED with 2 buttons

后端 未结 0 1706
故里飘歌
故里飘歌 2020-12-03 00:22
import RPi.GPIO as GPIO
import time
GPIO.setmode( GPIO.BCM )
GPIO.setwarnings( 0 )

print( "input copy" )

led = 18
switch_1 = 23
switch_2 = 24

GPIO.setup         


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