This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from twisted.internet.protocol import DatagramProtocol | |
from twisted.internet import reactor | |
import time | |
import RPi.GPIO as GPIO | |
#import time | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setwarnings(False) | |
for x in range(2, 7): | |
GPIO.setup(x, GPIO.OUT) |