
Originally Posted by
dbachman
for digit = 0 to 6
lookup digit,(4,5,9,10,6,2,3), portb
I know you can put the number in a var but can you "stick" on portb this way?
Thanks, Don
Yes, it will work (TRISB = 0)
Also,
READ (Temp DIG X),PORTB
Or
POT Pin,255,PORTB
or
ADCIN 0, PORTB
they all work.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks