You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quick2wire-python-api/examples/pcf8591read reads the optional first command line argument into a variable named 'address', but this variable isn't then used anywhere else!
The fix is to replace: adc = PCF8591(i2c, FOUR_SINGLE_ENDED)
with: adc = PCF8591(i2c, FOUR_SINGLE_ENDED, address)
I haven't checked to see if a similar bug affects any of the other examples.
Activity