This commit is contained in:
br committed 2023-01-06 18:47:59 +01:00
1 parent 043f584a02
commit 2dea0b13e9
3 files changed
+11 -3

No files matched your search

Executable
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
echo starte robot
cd ~/robotik-WS-2022
sudo ./testled.py
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
echo aktualisiere robot
cd ~/robotik-WS-2022
git pull
+3 -3
View File
@@ -7,9 +7,9 @@ phy_led = [8, 10, 12, 16, 18, 22, 24, 26, 32, 36, 38, 40,
print 'Pi Board Information' print 'Pi Board Information'
print '---------------------' print '---------------------'
for key,val in GPIO.RPI_INFO.items(): #for key,val in GPIO.RPI_INFO.items():
print '%s => %s'%(key,val) # print '%s => %s'%(key,val)
response = raw_input('\nIs this board info correct (y/n) ? ').upper() #response = raw_input('\nIs this board info correct (y/n) ? ').upper()
GPIO.setmode(GPIO.BOARD) GPIO.setmode(GPIO.BOARD)