|
GTS strange behavior
Hi, im working on the GTS code for our teams robot and ive hit a roadblock of sorts. I have tried using the 2007 default code for the GTS and put printf statements in the encoder initialization function, yet nothing is ever printed. the interrupt handler is also never executed. there is no "Phase B" code and the encoder is wired into the Digital Input 1 input. The Initialize code for the encoders is in the User_Initialization function:
printf("Initializing Encoders......\r\n");
Initialize_Encoders();
printf("Encoders init done!");
both printf statements are executed, however the InitializeEncoders function is not executed:
//first few lines
void Initialize_Encoders(void)
{
printf("initializing encoder 1 \r\n");
//rest of init code here...
whats going on? Thanks
--iwdu15
--Team 811
|