View Single Post
  #14   Spotlight this post!  
Unread 14-04-2014, 19:39
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: using interrupts in FRC

Quote:
Originally Posted by Alan Anderson View Post
Did you actually care about the encoder value? Or, as the "zeroing" description implies, were you just reading it in order to use as a reference for later readings of the delta? If that's all you were using it for, you wouldn't have needed to do any special programming. The FPGA lets you define a digital input pin as an encoder reset signal.
In this case (we were locating discs in our indexer), we really did need the encoder value. That is a handy feature, though. Thanks for sharing!