View Single Post
  #6   Spotlight this post!  
Unread 20-02-2011, 15:58
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Compressor programming

Our spike relay is plugged in to channel 1 on our sidecar on the 'relay' side. In the code I have our compressor programmed like so:

Code:
Compressor compressor = new Compressor(4,1);
// as in pressure switch on channel 4, spike relay on relay-1?
I've tried the above relay code- with no luck. Anyone else have any clue what could be wrong?

- EDIT -
False alarm, we moved our relay to PWM 5, and moved some wires. Compressor works beautifully. Thanks everyone.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye

Last edited by Robby Unruh : 20-02-2011 at 16:06.
Reply With Quote