Merge pull request #16 from avollkopf/master

This commit is contained in:
Manuel83 2021-02-10 07:21:01 +01:00 committed by GitHub
commit ab14111787
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,9 @@ except Exception:
patcher.start()
import RPi.GPIO as GPIO
mode = GPIO.getmode()
if (mode == None):
GPIO.setmode(GPIO.BCM)
@parameters([Property.Select(label="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]), Property.Select(label="Inverted", options=["Yes", "No"],description="No: Active on high; Yes: Active on low")])
class GPIOActor(CBPiActor):