View Single Post
  #3   Spotlight this post!  
Unread 03-02-2011, 12:09
captainking's Avatar
captainking captainking is offline
Level 85 Programmer
FRC #0168 (MIB)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: North Miami Beach
Posts: 41
captainking is an unknown quantity at this point
Re: Encoder Problems

Wiring:
5v -> power on dio 4
gnd -> gnd on dio 4
A - signal on dio 4
B -> signal on dio 5

Programming in the pictures

I have DIOs set to 4 for A and 5 for B
Attached Thumbnails
Click image for larger version

Name:	encoder teleop.JPG
Views:	53
Size:	40.6 KB
ID:	9940  Click image for larger version

Name:	encoder begin.JPG
Views:	47
Size:	23.1 KB
ID:	9941  
__________________
Integrity first
Service before self
Excellence in all we do
Reply With Quote