|
Re: Code error with while loops??
If you're using IFI defualt code, then you put that entire code block in User_autonomous_code() in user_routines_fast.c.
If you're using Kevin's c18 v3 code, then you put the code contained WITHIN "if (statusflag.NEW_SPI_DATA)" in Autonomous() in autonomous.c. You also need to make timer static if you're using Kevin's code.
__________________
Eric Haskins KC9JVH
|