12 int DIGITALInitialised;
int IOBoardVer(char *version)
Gives the version of the board.
Definition: inout.c:247
int ANALOGVoltage(void)
Finds the Analog Voltage as read from the IO board.
Definition: inout.c:208
int DIGITALInit(void)
Initialises connection to the IO board.
Definition: inout.c:13
int DIGITALWrite(int io, int state)
Writes to the digital input/output pins.
Definition: inout.c:139
int DIGITALReadAll(void)
Reads all digital pins.
Definition: inout.c:100
int DIGITALRead(int io)
Reads the digital input/output pins.
Definition: inout.c:63
Defines all the functions to connect to a serial USB/serial connection.
int DIGITALSetup(int io, char direction)
Sets up the digital input/output pins.
Definition: inout.c:33
int ANALOGRead(int channel)
Reads the analog channel on the IO board.
Definition: inout.c:169