Files
allwpilib/hal/include/HAL/Solenoid.h

18 lines
401 B
C
Raw Normal View History

#ifdef __vxworks
#include <vxWorks.h>
#else
#include <stdint.h>
#endif
#ifndef HAL_SOLENOID_H
#define HAL_SOLENOID_H
extern "C" {
void* initializeSolenoidPort(void* port_pointer, int32_t *status);
bool checkSolenoidModule(uint8_t module);
bool getSolenoid(void* solenoid_port_pointer, int32_t *status);
void setSolenoid(void* solenoid_port_pointer, bool value, int32_t *status);
}
#endif