Here is the code to create a voltmeter and ammeter. Everyone has a "display of choice" so you can use this to drive whatever display you wish to add. The color coding of the wires is only as a reference to make construction easier. I understand from Allegro that the ACS758 can handle as much as 200 amps and 72 amps is about maximum for this code. Hope this is of use and helpful to others.
Best, Ed


Menu

Re: I2CWRITE/I2CREAD access hardware in the different way? (PCA9685 issues)
You should probably leave them as inputs.
tumbleweed Yesterday, 17:39The I2C commands will change them from inputs to outputs as required to simulate an open-collector signal (high=input, low=output 0).
It would...