Thread: Digital 18??!?!
View Single Post
  #2   Spotlight this post!  
Unread 31-01-2014, 15:56
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Digital 18??!?!

Not sure where you found that resource, but digital 18 was the last digital IO port on the IFI control system (last used by FRC in 2008). The IFI system provided 'default code' which mapped all of the motor and relay outs to joystick inputs and buttons, including 1 relay for the compressor (mapped to digital 18 for the switch), allowing teams to run a robot without programming it, as such most examples suggested that teams use the same IO ports as the default code.

Any digital port will work now, but you have to write a bit of code to do it. The exact way to do this depends on your programming language.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack