Skip to main content
Version: legacy

DIO

api.AnalogReadPin(pin)

Read analog value on defined pin.

Disabled by defaul, FW & HW changes required.

api.DIOwaitForEvent(pin, event, sync, timeout)

Waits for specified event on defined pin. If event occurs, device wakes up and calls onWake() function.

api.DIOreadPin(pin)

Read DIO pin state.

api.DIOwritePin(pin, state)

Writes DIO pin state.