WPILib 2012
WPILibRoboticsLibraryforFRC
CInterfaces/CSolenoid.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 _C_SOLENOID_H
00008 #define _C_SOLENOID_H
00009 
00010 void SetSolenoid(UINT32 channel, bool on);
00011 bool GetSolenoid(UINT32 channel);
00012 
00013 typedef void *SolenoidObject;
00014 
00015 SolenoidObject CreateSolenoid(UINT32 channel);
00016 void DeleteSolenoid(SolenoidObject o);
00017 void SetSolenoid(SolenoidObject o, bool on);
00018 bool GetSolenoid(SolenoidObject o);
00019 
00020 #endif
00021 
 All Classes Functions Variables