View Single Post
  #7   Spotlight this post!  
Unread 20-07-2007, 11:14
Demothesis's Avatar
Demothesis Demothesis is offline
Team Leader/Programmer
FRC #2169 (KING TeC)
Team Role: Leadership
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Prior Lake
Posts: 32
Demothesis is on a distinguished road
Re: Gear encoder code

Thanks teams. Now, I looked at the code and "phase b" is all over the place in "encoder.c" (And maybe elsewhere). What do I comment out? I have a feeling that just taking out all lines that have "phase b" anywhere in them is going to give me syntax errors that I haven't even heard of!

Demothesis


PS just for curiosity sake, how would you go about programming your own encoder code? How do you get the uP to recognize the signals coming from the GTS when plugged into the Digital Input?