Go to Post You're never too cool for a giant conga line around an arena. - Michelle 236 [more]
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
  #2   Spotlight this post!  
Unread 27-01-2007, 17:44
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,708
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Digital IO Agggggggggggg!

Second question first. The Robot Controller Reference is your friend. Check page 9.

First question. This should be working. So I have a few questions for you. Are you certain you're properly setting it to an input? Are you sure you're not setting it to an output somewhere just after that? Are you sure you're not sending a value to the variable in you code anyways? And finally, are you sure the PWM is plugged in the right way and in the right port?

Otherwise, yes shorting black to white should change the input from 1 to 0. The input is 1 normally because the the pin has a pull up resistor on it that pulls the value up to 5V when there's nothing connected.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
 


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 Caliper as a Digital Readout on Small Mill sanddrag Technical Discussion 9 13-10-2005 22:51
Digital Cameras Ian W. Chit-Chat 15 08-09-2004 17:48
Digital In Question Tom Bottiglieri Control System 5 02-03-2004 17:09
digital i/o connectors Mercutio Electrical 4 19-01-2004 19:20
Digital Cameras Clark Gilbert Chit-Chat 16 07-12-2003 22:59


All times are GMT -5. The time now is 02:57.

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