View Single Post
  #3   Spotlight this post!  
Unread 21-02-2010, 00:14
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Trouble with Limit Switches

You do have the switch connected between ground and signal, right? And your wires go to the COM and NO pins on the switch, right?

Because of the pullup resistors on the Digital Sidecar's DIO pins, a Normally Open switch will read True when it's not active, and False when it is, so it looks like you got that part correct.

How are you using the switch value to zero the motor control? Show us that part of your code; it sounds like it isn't working properly.
Reply With Quote