Table of Contents

digital_input group

This group contains all digital input signals.

Each signal is a sub group with the signal name as the group name.

    "digital_input": {
        "user_button": {
            "pad": "PA3"
        }
    }

pad

defines the chip pad that the signal should be read from.

type: string

default: no default possible

invert

If this setting is set to “on” then a Low (Gnd) signal will be read as 1. A High (Vcc) level will be read as 0.

If this setting is set to “off” (=default) then a High (Vcc) signal will be read as 1. A Low (Gnd) level will be read as 0.

type: string

default: “off”

API

bool name_is_active(void)