|
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!
|