0.4.0 • Published 4 years ago

caf_rpi_gpio v0.4.0

Weekly downloads
40
License
Apache-2.0
Repository
github
Last release
4 years ago

Caf.js

Co-design permanent, active, stateful, reliable cloud proxies with your web app or gadget.

See https://www.cafjs.com

Raspberry Pi Library for Accessing GPIO Pins

Build Status

This library provides access to GPIO pins in a Raspberry Pi. It runs in the device not in the cloud.

API

See {@link module:caf_rpi_gpio/proxy_iot_gpio}

Configuration Example

iot.json

See {@link module:caf_rpi_gpio/plug_iot_gpio}

{
        "module": "caf_rpi_gpio#plug_iot",
        "name": "gpio",
        "description": "Access to GPIO pins for this device.",
        "env" : {
            "maxRetries" : "$._.env.maxRetries",
            "retryDelay" : "$._.env.retryDelay",
            "gpiomem" : "process.env.GPIO_MEM||true",
            "mapping" : "process.env.MAPPING||physical",
            "allowMock" : "process.env.ALLOW_MOCK||true",
            "mockRootDir" : "process.env.MOCK_ROOT_DIR||/tmp/gpio"
        },
        "components" : [
            {
                "module": "caf_rpi_gpio#proxy_iot",
                "name": "proxy",
                "description": "Proxy to access GPIO pins",
                "env" : {
                }
            }
        ]
}
0.4.0

4 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago