Skip to main content
Version: Next

DIO

This category contains functions, that enable pulse devices to use DIO (digital input/output).

api.AnalogReadPin(pin)

Reads analog value on defined pin.

warning

Disabled by default, FW & HW changes required.

api.DIOwaitForEvent(pin, event)

Waits for specified event on defined pin.

info

If event occurs, device wakes up and calls onWake() function.

api.DIOreadPin(pin)

Reads DIO pin state.

api.DIOwritePin(pin)

Writes DIO pin state.