Go to advanced search

by Usr164
Sun Jan 31, 2016 9:19 pm
Forum: Python
Topic: Need some help with python script with button and if santanc
Replies: 1
Views: 367

Need some help with python script with button and if santanc

Hi guys. I made a script for my lights. Can you check the code and pleas tell me whats wrong because nothing happens when I click the button? import RPi.GPIO as GPIO import time GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.setup(21, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.setup(18,GPIO.OUT) w...

Go to advanced search