[QUOTE=malc-c;30210] Guys, I'm getting a little out of my depth and would like some feedback here.
> I really thought you'd left it aside ... too bad !
EDIT:
I tried the obvious:
Code:
ADCIN 0, B0 ' Read channel 0 to B0
Portb=B0
RETURN
> What about Trying this
Code:
ADCIN 0, B0 ' Read channel 0 to B0
Portb= DCD B0
RETURN
> AND Using ONLY ADC Channel 0 as an input ...
However even with no music present the first 5 bits of Port B seem to display a random pattern, rather than just PB0 being lit.
> Did you think to place a pulldown resistor at the Channel 0 input ( I suspect a capacitive input coupling ...)
by the way ... a scheme could be useful !!! ( as we're used to your designs ... )
a Happy new year to you ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks