Thread: Encoder help
View Single Post
  #2   Spotlight this post!  
Unread 10-02-2007, 20:21
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Encoder help

I'm having trouble understanding your post. Do you mean that when you spin the shaft of the encoder one direction, you get -1, and the other direction you get 0? Does the counter count at all? I think there's a debug mode; look in the header file and enable it if you see the option.

You may have the encoder wired incorrectly. Which digital input is it plugged into? Which encoder do you have? Can you point me to a spec sheet?

JBot
__________________
Aren't signatures a bit outdated?