diff --git a/inc/robot_inc.py b/inc/robot_inc.py index 75cd49b..b0855aa 100644 --- a/inc/robot_inc.py +++ b/inc/robot_inc.py @@ -14,6 +14,8 @@ GPIO_23=22 GPIO_2=3 GPIO_3=5 +GPIO.setmode(GPIO.BOARD) + def gpio_on (theGPIO): # param1=INT # gpio#Nr GPIO.setup(theGPIO, GPIO.OUT) diff --git a/robot-a.py b/robot-a.py old mode 100644 new mode 100755 index b1c75cc..c63ac4a --- a/robot-a.py +++ b/robot-a.py @@ -4,9 +4,11 @@ import sys sys.path.append("inc") from robot_inc import * +#- ENDE DER SYSTEMEINSTELLUNGEN -linkeFlasche=GPIO_17 -rechteFlasche=GPIO_27 + +linkeFlasche=GPIO_2 +rechteFlasche=GPIO_3 # Rezept für Apfelsaft gpio_on (linkeFlasche)