Timer Interrupt problems FC7 PIC18F4680
Posted: Mon Feb 20, 2017 11:30 am
I don't know who can help, but I'm trying to compile some changes to some code I originally didi in FC6.
I am getting the following problem from the compiler:
PARC100v1rev4d.c: FCM_TimerInterrupt()
16229: tmr0h = 0x80;
^ (192) undefined identifier "tmr0h"
(908) exit status = 1
(908) exit status = 1
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1
Now I've gone through my code and the function FCM_Timer Interrupt is never called by my programme, and when exported as c code and searched the function only appears as a prototype and the included function.
Does anyone know how I can get this to compile?
cheers
I am getting the following problem from the compiler:
PARC100v1rev4d.c: FCM_TimerInterrupt()
16229: tmr0h = 0x80;
^ (192) undefined identifier "tmr0h"
(908) exit status = 1
(908) exit status = 1
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1
Now I've gone through my code and the function FCM_Timer Interrupt is never called by my programme, and when exported as c code and searched the function only appears as a prototype and the included function.
Does anyone know how I can get this to compile?
cheers