Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 569 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 569 Bytes

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)