Carefull when you use reserved word... COUNT is also a PBP statement. You should change it to something else
Now
JUST FOR FUN, and as your current hardware is setuped to use it, try this one which use TMR0
Code:
ADCON1 = 7
pCount VAR BYTE
OldpCount VAR BYTE
CLEAR
TMR0 = 0
OLDPCOUNT = 1
Start:
pCount = TMR0
IF pCount != OldpCount then
LCDOUT $FE,$C0, #pCount
OldpCount = pCount
ENDIF
GOTO Start
Last edited by mister_e; - 17th June 2007 at 22:22.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks