@clysema/ebrain-iot-analog
v1.0.0
Published
A module for the [Pigeon analog outputs](http://pigeoncomputers.com/documentation/hardware/analog-io/)
Downloads
3
Readme
Pigeon analog module
A module for the Pigeon analog outputs
Config
config/analog.json
{
"name": "Aout",
"outputs": [
{
"name": "out1",
"init": 25,
"mask": 1
},
{
"name": "out2",
"init": 25,
"mask": 2
}
]
}
Functions
set(deviceName, value, outName)
Examples:
.set("Aout", [25, 50]) // using an array
.set("Aout", 33, "out1") // using out name
.set("Aout", 33, 1) // using out mask (1, 2)