GPIO.setVAUX(vauxNumber, enable)

This method enables or disables the VAUX. It is equivalent to the AT#VAUX command.

The first input parameter vauxNumber is a Python integer that represents VUAX number that will be enabled or disabled.

The second input parameter enable is a Python integer that can assume value 1 in order to enable VAUX output or 0 if VAUX output should be disabled.

The return value is a Python integer that has value -1 if an error occurred otherwise it has the value 1.

 

Example:

 

res = GPIO.setVAUX(1, 1)

 

enables VAUX number 1 output, assigning the return value to res.

 

Note: For version 18.11.004 the only available value for vauxNumber is 1.