View Single Post
  #13   Spotlight this post!  
Unread 24-01-2014, 01:52
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,113
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: Microswitch only returns 0

Do you read a 1 from the switch when it isn't physically plugged in? If so, then your switch might be faulty.

If you still read 0 from a digital input that isn't connected to anything, then there's a software or wiring problem elsewhere and we'll have to do some deeper troubleshooting. Start by describing for us what the big orange Robot Signal Light is doing.