Update rpitx.py

pull/45/head
alanbjohnston 6 years ago committed by GitHub
parent 46c23a4082
commit de21f15407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@ GPIO.setup(12, GPIO.IN, pull_up_down=GPIO.PUD_UP)
transmit = False
if GPIO.input(12) == False:
transmit = True
if GPIO.input(27) == False;
if GPIO.input(27) == False:
transmit = True
print(transmit)

Loading…
Cancel
Save

Powered by TurnKey Linux.