View Single Post
  #4   Spotlight this post!  
Unread 15-02-2011, 22:01
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: Compressor programming

Actually, the compressor has two distinct parts to it: the pressure switch (reads the pressure gauge) and the relay (turns the compressor on or off). The constructor for Compressor expects the location of the pressure switch first, and the relay second. Are you sure you're getting both of them in the right place?
Quote:
Originally Posted by javadoc
Compressor(int pressureSwitchChannel, int compressorRelayChannel)
Compressor constructor.
Compressor(int pressureSwitchSlot, int pressureSwitchChannel, int compresssorRelaySlot, int compressorRelayChannel)
Compressor constructor.
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Reply With Quote