Archangel,
Thank you. I added the code you supplied just above the define OSC 20 line and it was enough to initialize the PIC. This is the good news. There are bad news, however.
1. Something is still missing in the code because applying 1 Vpp from a generator to the diodes of the left and right channels activates only 7 blocks out of 16. Applying 1.9 Vpp activates all 16 blocks. In other words, the VU meter is very insensitive and the logarithmic scale (I believe it uses a logarithmic scale) is way off.
2. Something is still missing in the code because the button that is connected to pin 35 of the PIC and which is suppose to change configuration of the bars does not change the configuration of the bars but instead in completely resetting the VU meter starting the sequence again.
Any ideas how to fix this?
Thank you.
Bookmarks