set_configurable_digital_input_action(port, action)
Using this method sets the selected configurable digital input register to either a "default" or "freedrive" action.
See also:
set_input_actions_to_defaultset_standard_digital_input_actionset_tool_digital_input_actionset_gp_boolean_input_action
Parameters
port: The configurable digital input port number. (integer)
action: The type of action. The action can either be "default" or "freedrive". (string)
Example command: set_configurable_digital_input_action(0, "freedrive")
- Example Parameters:
- n is the configurable digital input register 0
- f is set to "freedrive" action