Quote Originally Posted by ronsimpson View Post
In software:
If the output of the rectifier > than the meter reading then (meter-rectifier)/x add to meter.
If rectifier is < meter then meter=meter-y.
Hi Ron

If you glance at the final code I knocked together - that's essentially what I'm doing ...... 'x' being the AC signal coming in on a PIC pin, 'y' being my pseudo (sw) cap discharge rate (albeit I'm not driving VU meters & I require different attack/release times).