diff --git a/robot-a.py b/robot-a.py new file mode 100644 index 0000000..73aaecd --- /dev/null +++ b/robot-a.py @@ -0,0 +1,2 @@ +import inc/robot-inc + diff --git a/testled.py b/testled.py index fbcc449..81f0bb8 100755 --- a/testled.py +++ b/testled.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 import RPi.GPIO as GPIO import time @@ -17,9 +17,9 @@ myLED=22 GPIO.setup(myLED, GPIO.OUT) while True: GPIO.output(myLED,True) - print ('. on . ',myLED) + print '. on . ',myLED time.sleep(2) GPIO.output(myLED,False) - print ('**off**',myLED) + print '**off**',myLED time.sleep(2)