The digital IO module

Abstraction layer to manage digital I/O modules. Currently supported:

API

cmd_dio.init_dio(dio_id, conf_string)[source]

Registers in the pool and initializes a new DIO. conf_string is the configuration string for the module to be initialized

cmd_dio.deinit_dio(dio_id)[source]

Deregister a DIO from the pool

cmd_dio.config_dio(dio_id)[source]

Configure the DIO

cmd_dio.inval_dio(dio_id)[source]

Invalidate configuration of DIO

cmd_dio.set_digital_dio(dio_id, level)[source]

Set digital level (high/low)