set_pins

Set the state of the digital I/O pins

Parameters

array required
List of pins with corresponding state to configure
boolean
Disable all implicit conversions and coercions.
default: true

Please refer to Pin Status Definitions and Output override Definitions for the list of available statuses

Note

set_pin only configures the state of the Pin, to generate a pattern on a pin use set_pattern_generator

# Sample request,

[
  {
    "pin": 1,
    "state": "PG1",
    "override": "X"
  },
  {
    "pin": 2,
    "state": "PG2",
    "override": "X"

  }
]
1
2
3
4
5
6
7
8
9
10
11
12
13

# Examples