Quote:
|
Originally Posted by Mark McLeod
Your code looks file of course.
Have you tried displaying TICKS on the dashboard or terminal to see if it is also not getting incremented?
I have to run now, but I'll be back later and try to duplicate what you did in a test program.
|
Not incrementing. Here's the declarations (In Variables.h, which is included in Interupts.c)
Code:
extern long TIME;
extern long AUTOCLOCK;
extern char TICK;
They are actually defined in Variables.c.
The User_Routines_Fast.c Interuptor (Actually executed by proc) is this, just to check:
[code]#pragma code InterruptVectorLow = LOW_INT_VECTOR
void InterruptVectorLow (void)
{
_asm
goto InterruptHandlerLow // jump to InterruptHandlerLow()
_endasm
}
#pragma code
//...
#pragma interruptlow InterruptHandlerLow save=PROD,section("MATH_DATA"),section(".tmpdata")
void InterruptHandlerLow()
{
//...
}[/check]
I didn't edit this (to my knowledge

), so I can't imagine that would be it. The code is compiling fine, no errors or warnings.