|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Digital 18??!?!
Ok so all the Pneumatics resources we've found so far say that we must connect the pressure switch to Digital port #18. We have not figured out what digital #18 is. There are only 14 digital IO ports on our sidecar (the one we got in the KOP). We've been helpd up for almost a week with this problem, and I'm literally ready to rip my hair out
. If someone could post a picture clearly indicating Digital 18, explain WHERE digital 18 is, and/or explain exactly WHY we need to plug that into Digital 18,I would love you forever . |
|
#2
|
|||||
|
|||||
|
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. |
|
#3
|
|||
|
|||
|
Re: Digital 18??!?!
We are programming in Java. The compressor constructor currently looks like this:
Compressor comp = new Compressor(2,8); Can you please explain which slot the spike and pressure switch need to be plugged into? ![]() |
|
#4
|
||||
|
||||
|
Re: Digital 18??!?!
Quote:
Attachment 16007 |
|
#5
|
||||
|
||||
|
Re: Digital 18??!?!
Can you please link to said resource(s)? I am curious to know the context.
|
|
#6
|
||||
|
||||
|
Re: Digital 18??!?!
Any pre-2009 control system information will say this.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|