in my table only 142 figures.
I have to use one of pic18cXX controllers
in my table only 142 figures.
I have to use one of pic18cXX controllers
You don't need an 18?.
The LOOKUP statement .. NOT the LOOKUP2, will do exactly what you want, even if it's a 12F.
<br>
DT
Is there any way to save count. I mean when you unpress button the count stops and when you press again the count starts from the moment it stoped before?
it gives warning [202] argument out of range Least significant bits used
from the manual
8 bits = byte, max value = 255Code:The LOOKUP statement can be used to retrieve values from a table of 8-bit constants.
so you need to use 2 LOOKUP2 table
split your lookup table in two, duplicate your code and your ready to go.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yup, your right!
LOOKUP only works with byte sized values. Woops.
Time for a vacation. cyaz
<br>
DT
how make simple count from 902 to 232 with step -10 and back if button is pressed?
Bookmarks