View Full Version : First Touch I/O Module
Kohala2460
12-01-2011, 18:17
We have an idea to use analog outputs from 3 different sources for the drivers station, however we do not know how to program the First Touch I/O Module. Some basic code, or where to get some would be very much appreciated.
-Team 2460
rcmolloy
12-01-2011, 18:19
How To Configure Your I/O Module (http://usfirst.org/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info/2011_Assets/Kit_of_Parts/How_To_Configure_Your_I-O_Module.pdf)
Source Code - WPI (http://firstforge.wpi.edu/sf/go/projects.wpilib/frs.cypress_driver_station_i_o_firmw)
That should get you started. I am not in the programming section of the robot but I believe that most of the info can be used from these. Check the pages on here as well. They should provide you with some answers. :)
Greg McKaskle
13-01-2011, 02:12
The most direct way to do this is to configure the I/O board as normal, then simply read the analogs you want on the robot. You don't mention a language, but all have access to the FT values via the DriverStation object or library.
On the robot, do the math to combine them into the appropriate control values e.g. speed= (x+y+z)/3, or whatever you need.
Greg McKaskle
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.