Osiota is a software platform capable of running distributed IoT applications written in JavaScript to enable any kind of IoT tasks. See osiota.
This application allows controlling GPIO pins.
Properties
Name | Type | Description | Required |
---|---|---|---|
pin (Pin number) |
number |
Not GPIO number (See pin naming) |
yes |
initial_value (Initial Output Value) |
number |
Enum: 0 , 1 |
no |
invert (Invert Output Value) |
boolean |
e.g. for a pull down circuit |
no |
Additional Properties: not allowed
Example
{
"pin": 7,
"initial_value": 0,
"invert": true
}
Add a configuration object for this application, see osiota configuration:
{
"name": "gpio-out",
"config": CONFIG
}
Osiota and this application are released under the MIT license.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.