Go to Post The energy source of the future is brain power. - Michael R. Lee [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #1   Spotlight this post!  
Unread 24-01-2009, 13:53
KRibordy KRibordy is offline
Registered User
FRC #1000 (Cybearcats)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Valparaiso, IN
Posts: 36
KRibordy is an unknown quantity at this point
Digital Inputs

After a few days of frustration, I figured out what we were doing wrong with digital inputs. The digital inputs aren't "pulled down" so they read unpredictable values. Our button makes the input read "0" when pushed, which is fine, but when it's NOT pushed, the value fluctuates between 0 and 1. Is there any way we can make the "not pushed" value remain at a constant value?
We just have a switch hooked up to the signal and ground wires of a pwm cable.
Do we need resistors or something else?
Reply With Quote
 


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
reading multiple digital inputs angelkat Programming 2 25-01-2009 00:22
digital inputs: some bad? Trav-O Electrical 3 18-02-2008 23:29
Digital inputs in autonomous mode? Calvin Programming 8 18-02-2006 13:16
Digital inputs, bandwith, errors? Micah Brodsky Programming 7 20-01-2003 16:08
Analog vs Digital inputs? f22flyboy Programming 8 08-11-2002 22:18


All times are GMT -5. The time now is 19:30.

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