Brandon222 wrote:Ok that makes sense. My final question and I'm sorry I've been asking a lot. In terms of reading the GPIO. I'm assuming I would need to read GPIO 3. I would first need to make GPIO 3 and input using the command GPIO.setup(3, input)
But than to read it what would it be?
To read the voltage level?
You would communicate with the i2c PCF8591, you would need to pick a programming language (Python or C perhaps) and modify some sample code.
Here is a
guide by Grumpy Mike on communicating with a PCF8591.
Doug.
Building Management Systems Engineer.