you may want to change the line:
LCDOut $fe,1,"L:"
to:
LCDOut $fe,1,$fe,2,"L:"
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.
I think Kamikaze47 had the right idea, but mistyped it.
LCDOut $fe,2,"L:"
<br>
DT
Bookmarks