WPILib 2012
WPILibRoboticsLibraryforFRC
CInterfaces/CCompressor.h
00001 /*----------------------------------------------------------------------------*/
00002 /* Copyright (c) FIRST 2008. All Rights Reserved.                                                         */
00003 /* Open Source Software - may be modified and shared by FRC teams. The code   */
00004 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib.  */
00005 /*----------------------------------------------------------------------------*/
00006 
00007 #ifndef _COMPRESSOR_H
00008 #define _COMPRESSOR_H
00009 
00010 void CreateCompressor(UINT32 pressureSwitch, UINT32 relayChannel);
00011 void CreateCompressor(UINT32 pressureSwitchSlot, UINT32 pressureSwitchChannel,
00012                                                 UINT32 relaySlot, UINT32 relayChannel);
00013 void StartCompressor();
00014 void StopCompressor();
00015 bool CompressorEnabled();
00016 
00017 void DeleteCompressor();
00018 #endif
00019 
 All Classes Functions Variables