Quote:
|
Originally Posted by Oumonkey
Where would I put that piece of code?
I don't know much about C, so I wanted to ask before I mess something up.  don't hurt me...
|
You could put it right in Default_Routine() or Process_Data_From_Master_uP()
Just make sure you initialize the trigger variable outside the function.
Code:
int automode=0;
void Default_Routine(void)
{
what I had before....
}