View Single Post
  #12   Spotlight this post!  
Unread 26-10-2007, 23:27
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,363
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Problem using VEX shaft encoder

There are easier options. You could upgrade to the latest version of Easy_c and use the vex encoder block. If you want to use MPLAB and code in c you could take advantage of a function library Called WPLIB. Look under the easy-c intelitek sub forums. In the library there are functions for many of the sensors you can use for vex and FRC. This way you can concentrate on the robots action and not get buried and bogged down with low level routines. After you have increased your programming skills, revisit interrupts, counters and timers by studying Kevin Watson's Source code.