Open GoogleCodeExporter opened 9 years ago
Just change it to "from webiopi.devices.analog.mcp4725 import MCP4725".
In 0.6.0 the __init__.py modules automatically imported ALL device classes,
this was changed in 0.7.0 to save space. As downside you must now put a longer
and exact module path to the import statements.
For the ADS1115, this would be then "from webiopi.devices.analog.ads1x1x import
ADS1115".
This applies to ALL device driver classes. Sorry for the inconvenience, most
Python examples on the Wiki pages still need to be updated to reflect this
change ...
Hope this helps.
Andreas
Original comment by andreas....@googlemail.com
on 29 Apr 2014 at 2:58
Original issue reported on code.google.com by
Sergeant...@gmail.com
on 28 Apr 2014 at 9:46