diff --git a/hello.py b/hello.py index b096178..3b3f103 100644 --- a/hello.py +++ b/hello.py @@ -1,26 +1,3 @@ #!/usr/bin/python -import RPi.GPIO as GPIO -from time import sleep - -# Needs to be BCM. GPIO.BOARD lets you address GPIO ports by periperal -# connector pin number, and the LED GPIO isn't on the connector -GPIO.setmode(GPIO.BCM) - -GPIO.cleanup() - -# set up GPIO output channel -GPIO.setup(16, GPIO.OUT) - -while(1): - # Turn On - GPIO.output(16, GPIO.LOW) - - # Wait a bit - sleep(1000) - - # Turn Off - GPIO.output(16, GPIO.HIGH) - - # Wait a bit - sleep(1000) \ No newline at end of file +print "hello python!" \ No newline at end of file