View Single Post
  #1   Spotlight this post!  
Unread 18-02-2005, 10:12
brownster brownster is offline
Registered User
#1392 (Team Kinematrix)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Ajax,Ont
Posts: 21
brownster is an unknown quantity at this point
Encoder code with hall effect sensors help

I need to know how to exactly use the hall effects with the encoders. I plugged in the output from the hall effects so that left is digital input 1 and the right isdigital input 2. However when i run the autonomous the right wheel behaves properly and the left wheel doesn't. In "pid.h" i changed the code so that left wheel is pwm and right wheel is pwm 10..but that is all i did...i need to know where the quadrature input part is so i can delete it too. If anyone can tell me why 1 wheel is working and the other isn't..that would be really great....thank you!