View Single Post
  #1   Spotlight this post!  
Unread 10-01-2016, 23:31
MAXOFLIFE's Avatar
MAXOFLIFE MAXOFLIFE is offline
Bolton Bear Bots Member
AKA: Maxwell Huffman
FRC #3666 (Bolton Bear Bots)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2013
Location: Alexandria Louisiana
Posts: 24
MAXOFLIFE is an unknown quantity at this point
How to wire Digital Inputs and Outputs and Analog Inputs? (SOLVED)

Hello! Thank you for taking the time to read my post and hopefully help me!

I almost completely understand how to take the values from a digital input/analog input and utilize them within our team's code, but I have no idea on where to even begin on the roboRIO itself.

For example, if I wanted this simple switch mounted on the robot to control whether the robot ran our autonomous code or did not run our autonomous code, how would I wire it to the roboRIO DIO so that I could call for it's T/F value in LabView?



The same question applies to this potentiometer, except for analog values rather than T/F.



This is a very rudimentary question that you can probably answer in minutes, but I just wanted to ask the you guys first so that I don't accidentally hurt the board. I couldn't find my answer after using google for an hour because I don't know the proper terms. Thank you for your help!

Bonus Question: What would a potentiometer that has specific values be named? Specifically one that has at least 4 distinct analog value outputs.

Last edited by MAXOFLIFE : 11-01-2016 at 06:56.