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: DT interrupt problem / K40 - "Priority State Not Found"
Yep, I found a "@ INT_DISABLE INT_INT" in a function in one of my include files (that I don't even use currently). After commenting it out, it compiled fine.
achilles03 - 23rd April 2026, 17:56Thanks!
Dave