Skip to content

ingeniadevteam/ebrain-iot-analog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Releases

No releases published

Packages

No packages published