diff --git a/cbpi/extension/gpioactor/__init__.py b/cbpi/extension/gpioactor/__init__.py index 50a15ae..ae8104f 100644 --- a/cbpi/extension/gpioactor/__init__.py +++ b/cbpi/extension/gpioactor/__init__.py @@ -20,17 +20,17 @@ except Exception: import RPi.GPIO as GPIO -@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"])]) +@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): def get_GPIO_state(self, state): # ON if state == 1: - return 0 if self.inverted == False else 1 + return 1 if self.inverted == False else 0 # OFF if state == 0: - return 1 if self.inverted == False else 0 + return 0 if self.inverted == False else 1 async def start(self): await super().start() diff --git a/venv/bin/autopep8 b/venv/bin/autopep8 old mode 100755 new mode 100644 diff --git a/venv/bin/chardetect b/venv/bin/chardetect old mode 100755 new mode 100644 diff --git a/venv/bin/easy_install b/venv/bin/easy_install old mode 100755 new mode 100644 diff --git a/venv/bin/easy_install-3.8 b/venv/bin/easy_install-3.8 old mode 100755 new mode 100644 diff --git a/venv/bin/epylint b/venv/bin/epylint old mode 100755 new mode 100644 diff --git a/venv/bin/f2py b/venv/bin/f2py old mode 100755 new mode 100644 diff --git a/venv/bin/f2py3 b/venv/bin/f2py3 old mode 100755 new mode 100644 diff --git a/venv/bin/f2py3.8 b/venv/bin/f2py3.8 old mode 100755 new mode 100644 diff --git a/venv/bin/isort b/venv/bin/isort old mode 100755 new mode 100644 diff --git a/venv/bin/isort-identify-imports b/venv/bin/isort-identify-imports old mode 100755 new mode 100644 diff --git a/venv/bin/pip b/venv/bin/pip old mode 100755 new mode 100644 diff --git a/venv/bin/pip3 b/venv/bin/pip3 old mode 100755 new mode 100644 diff --git a/venv/bin/pip3.8 b/venv/bin/pip3.8 old mode 100755 new mode 100644 diff --git a/venv/bin/pycodestyle b/venv/bin/pycodestyle old mode 100755 new mode 100644 diff --git a/venv/bin/pyfiglet b/venv/bin/pyfiglet old mode 100755 new mode 100644 diff --git a/venv/bin/pylint b/venv/bin/pylint old mode 100755 new mode 100644 diff --git a/venv/bin/pyreverse b/venv/bin/pyreverse old mode 100755 new mode 100644 diff --git a/venv/bin/python b/venv/bin/python deleted file mode 120000 index b8a0adb..0000000 --- a/venv/bin/python +++ /dev/null @@ -1 +0,0 @@ -python3 \ No newline at end of file diff --git a/venv/bin/python3 b/venv/bin/python3 deleted file mode 120000 index 3b8210b..0000000 --- a/venv/bin/python3 +++ /dev/null @@ -1 +0,0 @@ -/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 \ No newline at end of file diff --git a/venv/bin/symilar b/venv/bin/symilar old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/_cffi_backend.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/_cffi_backend.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/aiohttp/_frozenlist.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/aiohttp/_frozenlist.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/aiohttp/_helpers.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/aiohttp/_helpers.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/aiohttp/_http_parser.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/aiohttp/_http_parser.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/aiohttp/_http_writer.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/aiohttp/_http_writer.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/aiohttp/_websocket.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/aiohttp/_websocket.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/aiohttp_swagger/swagger_ui/images/favicon-16x16.png b/venv/lib/python3.8/site-packages/aiohttp_swagger/swagger_ui/images/favicon-16x16.png old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/aiohttp_swagger/swagger_ui/images/favicon-32x32.png b/venv/lib/python3.8/site-packages/aiohttp_swagger/swagger_ui/images/favicon-32x32.png old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/aiohttp_swagger/swagger_ui/images/favicon.ico b/venv/lib/python3.8/site-packages/aiohttp_swagger/swagger_ui/images/favicon.ico old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/aiohttp_swagger/swagger_ui/lang/ja.js b/venv/lib/python3.8/site-packages/aiohttp_swagger/swagger_ui/lang/ja.js old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so b/venv/lib/python3.8/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/cryptography/hazmat/bindings/_padding.abi3.so b/venv/lib/python3.8/site-packages/cryptography/hazmat/bindings/_padding.abi3.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/lazy_object_proxy/cext.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/lazy_object_proxy/cext.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/markupsafe/_speedups.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/markupsafe/_speedups.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/multidict/_multidict.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/multidict/_multidict.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/.dylibs/libgfortran.3.dylib b/venv/lib/python3.8/site-packages/numpy/.dylibs/libgfortran.3.dylib old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/.dylibs/libopenblas.0.dylib b/venv/lib/python3.8/site-packages/numpy/.dylibs/libopenblas.0.dylib old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/.dylibs/libquadmath.0.dylib b/venv/lib/python3.8/site-packages/numpy/.dylibs/libquadmath.0.dylib old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/core/_multiarray_tests.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/core/_multiarray_tests.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/core/_operand_flag_tests.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/core/_operand_flag_tests.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/core/_rational_tests.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/core/_rational_tests.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/core/_struct_ufunc_tests.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/core/_struct_ufunc_tests.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/core/_umath_tests.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/core/_umath_tests.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/fft/_pocketfft_internal.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/fft/_pocketfft_internal.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/linalg/_umath_linalg.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/linalg/_umath_linalg.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/linalg/lapack_lite.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/linalg/lapack_lite.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/random/_bounded_integers.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/random/_bounded_integers.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/random/_common.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/random/_common.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/random/_generator.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/random/_generator.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/random/_mt19937.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/random/_mt19937.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/random/_pcg64.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/random/_pcg64.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/random/_philox.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/random/_philox.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/random/_sfc64.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/random/_sfc64.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/random/bit_generator.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/random/bit_generator.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/numpy/random/mtrand.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/numpy/random/mtrand.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/algos.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/algos.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/groupby.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/groupby.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/hashing.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/hashing.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/hashtable.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/hashtable.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/index.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/index.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/indexing.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/indexing.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/internals.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/internals.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/interval.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/interval.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/join.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/join.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/json.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/json.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/lib.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/lib.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/missing.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/missing.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/ops.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/ops.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/ops_dispatch.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/ops_dispatch.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/parsers.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/parsers.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/properties.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/properties.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/reduction.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/reduction.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/reshape.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/reshape.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/sparse.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/sparse.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/testing.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/testing.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslib.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslib.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/base.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/base.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/ccalendar.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/ccalendar.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/conversion.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/conversion.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/dtypes.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/dtypes.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/fields.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/fields.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/nattype.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/nattype.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/np_datetime.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/np_datetime.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/offsets.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/offsets.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/parsing.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/parsing.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/period.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/period.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/strptime.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/strptime.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/timedeltas.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/timedeltas.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/timestamps.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/timestamps.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/timezones.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/timezones.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/tzconversion.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/tzconversion.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/vectorized.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/tslibs/vectorized.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/window/aggregations.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/window/aggregations.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/window/indexers.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/window/indexers.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/_libs/writers.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/_libs/writers.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/pandas/io/sas/_sas.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/pandas/io/sas/_sas.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/wrapt/_wrappers.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/wrapt/_wrappers.cpython-38-darwin.so old mode 100755 new mode 100644 diff --git a/venv/lib/python3.8/site-packages/yarl/_quoting_c.cpython-38-darwin.so b/venv/lib/python3.8/site-packages/yarl/_quoting_c.cpython-38-darwin.so old mode 100755 new mode 100644