I'm not clear on the problem you are having.
What is it doing or not doing? And what should it do instead?
I'm not clear on the problem you are having.
What is it doing or not doing? And what should it do instead?
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
I want to measure the audio input at the left and the right channel of a stereo coder (is for fm transmitter).
The left channel show on first line and the right channel show on second line on the 2X16 LCD.
But the LCD first show the left channel and after show the right channel alternately (very fast).
you may want to change the line:
LCDOut $fe,1,"L:"
to:
LCDOut $fe,1,$fe,2,"L:"
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
There's something obvious that just jump to my face. You're using the default LCD assignment, and this use a.0, a.1... which is also your adc channels.
so unless you forgot something in your copy/paste, or i totally misunderstood something
EDIT: one more... Assuming you're using the internal OSC, you want to configure it properly... unless the whole beast will run @32KHz
OSCCON = %01100000 ' 4MHz
Don't forget to check your maths range... sure it will overflow the max 100 soon.
Last edited by mister_e; - 25th March 2008 at 17:15.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
it worked fine here... sorry.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks