mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
12 lines
390 B
C
12 lines
390 B
C
|
|
#pragma once
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
extern "C" {
|
||
|
|
void* initializeAnalogOutputPort(void* port_pointer, int32_t* status);
|
||
|
|
void freeAnalogOutputPort(void* analog_port_pointer);
|
||
|
|
void setAnalogOutput(void* analog_port_pointer, double voltage,
|
||
|
|
int32_t* status);
|
||
|
|
double getAnalogOutput(void* analog_port_pointer, int32_t* status);
|
||
|
|
bool checkAnalogOutputChannel(uint32_t pin);
|
||
|
|
}
|