From 16ff6653e8c36863748820f149402b68cea16ff1 Mon Sep 17 00:00:00 2001 From: Carl Allen Date: Mon, 12 Jun 2017 15:05:40 -0500 Subject: [PATCH] Add GPIO Pin 27 Closes https://github.com/Manuel83/craftbeerpi3/issues/7 --- modules/base_plugins/gpio_actor/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/base_plugins/gpio_actor/__init__.py b/modules/base_plugins/gpio_actor/__init__.py index 40b17e2..fe75689 100644 --- a/modules/base_plugins/gpio_actor/__init__.py +++ b/modules/base_plugins/gpio_actor/__init__.py @@ -18,7 +18,7 @@ except Exception as e: @cbpi.actor class GPIOSimple(ActorBase): - gpio = Property.Select("GPIO", options=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]) + gpio = Property.Select("GPIO", options=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]) def init(self): GPIO.setup(int(self.gpio), GPIO.OUT) @@ -35,7 +35,7 @@ class GPIOSimple(ActorBase): @cbpi.actor class GPIOPWM(ActorBase): - gpio = Property.Select("GPIO", options=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]) + gpio = Property.Select("GPIO", options=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]) duty_cylce = Property.Number("Duty Cycle", configurable=True) p = None @@ -69,7 +69,7 @@ class GPIOPWM(ActorBase): @cbpi.actor class RelayBoard(ActorBase): - gpio = Property.Select("GPIO", options=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]) + gpio = Property.Select("GPIO", options=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]) def init(self): GPIO.setup(int(self.gpio), GPIO.OUT) @@ -90,4 +90,4 @@ class Dummy(ActorBase): print "ON" def off(self): - print "OFF" \ No newline at end of file + print "OFF"