Go to Post Is it legal to build 2 robots? yes. Is it crazy to do so? maybe. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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
  #7   Spotlight this post!  
Unread 19-01-2009, 20:01
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Using driver station digital inputs

The digital and analog I/O on the driver station are for the purpose of creating custom UIs for the robot. It is true that there are no pull-ups on the digital inputs, so you have to explicitly do that yourself or you'll get unpredictable results. You can also do tricks like use a set of resistors and a switch to use one of the analog inputs as many digital (switch) inputs if you're running out of real digital inputs.

Be aware that in the future it is possible that you will not be able to read the driver station values during the autonomous period. So plan on writing the code to store values in variables during the disabled period before autonomous then use them in the autonomous period.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
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
Flashing Driver Station Digital Input MacGyver1718 FRC Control System 3 15-01-2009 19:22
Interrupt on driver station digital input Nameless Programming 9 04-12-2008 16:55
Using Analog Inputs as Digital (on the OI) Guy Davidson Control System 16 10-03-2008 17:17
digital inputs: some bad? Trav-O Electrical 3 18-02-2008 23:29
Analog vs Digital inputs? f22flyboy Programming 8 08-11-2002 22:18


All times are GMT -5. The time now is 05:31.

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