View Single Post
  #2   Spotlight this post!  
Unread 19-02-2005, 12:44
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Encoder assistance needed

Phil

The navigation code is meant to be run with an encoder, not the Hall Effect sensors.

Encoders will have Phase A and Phase B outputs, whereas your hall effect sensor will only have one output.

To use the Hall effect sensor instead, you will want to use only Phase-A, and then modify the Interrupt Handlers to not check the Phase B output, but to check the direction of the PWM output associated with that hall effect sensor.

Sorry if this is rather vague, but hopefully it will help.

-SlimBoJones...