WPILib 2012
WPILibRoboticsLibraryforFRC
CInterfaces/CDigitalInput.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_DIGITAL_INPUT_H
00008 #define _C_DIGITIL_INPUT_H
00009 
00010 UINT32 GetDigitalInput(UINT8 moduleNumber, UINT32 channel);
00011 UINT32 GetDigitalInput(UINT32 channel);
00012 void DeleteDigitalInput(UINT8 moduleNumber, UINT32 channel);
00013 void DeleteDigitalInput(UINT32 channel);
00014 
00015 typedef void *DigitalInputObject;
00016 
00017 DigitalInputObject CreateDigitalInput(UINT8 moduleNumber, UINT32 channel);
00018 DigitalInputObject CreateDigitalInput(UINT32 channel);
00019 bool GetDigitalInput(DigitalInputObject o);
00020 void DeleteDigitalInput(DigitalInputObject o);
00021 
00022 #endif
00023 
 All Classes Functions Variables