mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
18 lines
401 B
C
18 lines
401 B
C
|
|
|
||
|
|
#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
|