Following on from the previous PCF8591 post. That code has been tidied up and made into a Python class.
It has methods to read single ADC channels and all ADC channels. Also, to enable, disable and set the DAC value.
The code is hosted on github. There’s a link on the downloads page.