diff --git a/robot-start.sh b/robot-start.sh new file mode 100755 index 0000000..8dd087d --- /dev/null +++ b/robot-start.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +echo starte robot +cd ~/robotik-WS-2022 +sudo ./testled.py diff --git a/robot-update.sh b/robot-update.sh new file mode 100755 index 0000000..201c1b5 --- /dev/null +++ b/robot-update.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +echo aktualisiere robot +cd ~/robotik-WS-2022 +git pull diff --git a/testled.py b/testled.py index fab92f9..aea585b 100755 --- a/testled.py +++ b/testled.py @@ -7,9 +7,9 @@ phy_led = [8, 10, 12, 16, 18, 22, 24, 26, 32, 36, 38, 40, print 'Pi Board Information' print '---------------------' -for key,val in GPIO.RPI_INFO.items(): - print '%s => %s'%(key,val) -response = raw_input('\nIs this board info correct (y/n) ? ').upper() +#for key,val in GPIO.RPI_INFO.items(): +# print '%s => %s'%(key,val) +#response = raw_input('\nIs this board info correct (y/n) ? ').upper() GPIO.setmode(GPIO.BOARD)