View Single Post
  #4   Spotlight this post!  
Unread 18-10-2009, 14:16
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,833
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: Digital inputs on old FRC

It is possible that your code is correct, but the pressure switch is not working properly... not likely, perhaps... but possible.

Have you tried checking the pressure switch with an ohmmeter to see if the contacts are closing and opening?

Alternatively, have you tried hooking up a switch (or just using jumpers) on the i/o pin to see if your code can read a "known good" switch?

You probably have, but just thought I'd add a "check the hardware" comment in amongst all the helpful software advice.

Jason