A quick look at the datasheet for the 877A indicates that it does not even have a T0CON register (it does have a T1CON register though).
Are you sure that's the device that the code was originally...
Hi Henrik,
Thanks! That's got me a bit further on.
Now I get "Bad data type" for line " TMR0ON var T0CON.7 ; Timer0 Enable flag 1 = enable 0 = stop "
Note that...
From the manual:
Try replacing Symbol TMR0ON = T0CON.7 with TMR0ON VAR T0CON.7 and see if that makes any difference.
Hi All,
I wrote some code some years ago on an early version of PBP 3 for the P16F877A.
That computer is long gone but I still have the code and tried to compile it recently using PBP 3.0.10.4 ...
Re: Redefinition of Label error
Doh!.... Thanks.
evildrome Yesterday, 13:59I have a whole pile of P16F877A's lying around and I did originally write the code for the the P16F877A but changed over to the P18F4550.
Do you know what the first line of...