mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
17 lines
355 B
C++
17 lines
355 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#ifdef __vxworks
|
||
|
|
#include <vxWorks.h>
|
||
|
|
#else
|
||
|
|
#include <stdint.h>
|
||
|
|
#endif
|
||
|
|
|
||
|
|
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);
|
||
|
|
}
|