|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How the GTS works? | Bomberofdoom | Programming | 6 | 25-01-2007 21:46 |
| GTS Counting | gnirts | Programming | 13 | 21-04-2006 21:15 |
| GTS code Problems | caderader | Programming | 8 | 13-02-2006 19:23 |
| Strange Behavior | Gary Bonner | Control System | 17 | 09-11-2005 19:01 |