return self._QuadPower_direction; I am trying to understand what the purpose of enablePowerChannel is. Isn't the initialization of the QPM done when the instance is created? Do I have to use enablePowerChannel every time I want to switch a channel? Will it impact any other channels?
It also seems to me that there is a typo in line 3. Is that not an issue because "QuadPower_DISABLE" is never used?
Last Edit: Jan 28, 2019 8:35:42 GMT -8 by lbendlin
Yes, that is a Typo. Dang Python weak typing. You never have these problems with a strongly typed language like C/C++. Fixed.
Remember thee QPBM board is driven by an 8 Pin I2C GPIO board. That's why you have inputs and outputs. Obviously, you have to program the pins (done in the driver) as outputs to drive the solid state relays.
It is a little mysterious but it makes sense to define those things.