I'm over the moon for you.
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital Inputs Driver Station dboisvert C/C++ 2 25-02-2009 20:09
Digital Inputs? Straberrie Programming 4 15-02-2009 01:47
Digital Inputs + Auton? Straberrie Programming 13 13-02-2009 11:28
Digital Inputs KRibordy C/C++ 5 25-01-2009 00:35
Analog vs Digital inputs? f22flyboy Programming 8 08-11-2002 22:18


All times are GMT -5. The time now is 08:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi