Quote Originally Posted by HankMcSpank View Post
Ok, my first attempt. I'm a beginner, so I welcome any comments towards a more efficient way of doing what I've just done (see code below)

I'm using the Microchip low count board...which only has 4 LEDs - the code
which board??? which PIC??
I'm assuming U R using PicBasicPro(?)


Quote Originally Posted by HankMcSpank View Post
just a matter of tweaking with those individual thresholds to get it looking 'right').
yes, this applies to analog and/or digital.


Quote Originally Posted by HankMcSpank View Post
My next attempt will be to get a sample & hold vibe going down (which I'm
S&H usually refers to a gated analog capacitor with a HiZ buffer.
In digital "terms", U are storing the value(s) in binary and "delaying" the output processing via conditions.
Since U are already processing the input voltage signal level(one) for the digital AGC,
U already have the info. Just output it to a bunch of LEDs.
The refresh rate needs to only be fast enough so that it looks good to the eyeballs.

Sounds like a very interesting project.
Have U visited the DIYStompbox forum?
There is a "digital" section.
afn
T