Go to Post Also, after 3 years of FRC I finally hugged that Platypi! - That 281 Guy [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
  #1   Spotlight this post!  
Unread 27-01-2007, 16:22
Robostang 548's Avatar
Robostang 548 Robostang 548 is offline
I can program the future...
AKA: Don
FRC #0548 (Robostangs)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Northville Mi
Posts: 69
Robostang 548 is on a distinguished road
Send a message via AIM to Robostang 548 Send a message via MSN to Robostang 548 Send a message via Yahoo to Robostang 548
Question Digital IO Agggggggggggg!

My team can’t seem to be able to get the digital IO ports working. We made a printf statement that just displays the state of digital_io_01 and also made the switch 2 led = to the state of digital_io_01. The led and the terminal window both say that digital_io_01 = 1. At first we thought that this was weird because there was no switch or anything attached that would close the circuit and make it 1. We attached a pwm cable and tried jumpering red to white and then tried to jumper black to white but there was no change in the state of digital_io_01. We have it configured as an input but we can’t seem to get the state of digital_io_01 to change from 1. How are we supposed to hook switches and other sensors that run on an on off basis to the Digital IO pins and get them to work. Also, in an unrelated question, how are we supposed to hook up a pot or other analogue sensor to the analogue input pins?
 


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 17: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