|
Welcome to the EyeBot
Version 7 - RPi1
A Controller For Various Hardware IO
|
Defines functions to interact with the IO board. More...
#include "inout.h"Functions | |
| int | DIGITALInit () |
| Initialises connection to the IO board. More... | |
| int | DIGITALSetup (int io, char direction) |
| Sets up the digital input/output pins. More... | |
| int | DIGITALRead (int io) |
| Reads the digital input/output pins. More... | |
| int | DIGITALReadAll (void) |
| Reads all digital pins. More... | |
| int | DIGITALWrite (int io, int state) |
| Writes to the digital input/output pins. More... | |
| int | ANALOGRead (int channel) |
| Reads the analog channel on the IO board. More... | |
| int | ANALOGVoltage () |
| Finds the Analog Voltage as read from the IO board. More... | |
| int | IOBoardVer (char *version) |
| Gives the version of the board. More... | |
Defines functions to interact with the IO board.
| int ANALOGRead | ( | int | channel | ) |
Reads the analog channel on the IO board.
| the | channel to read from |
| int ANALOGVoltage | ( | void | ) |
Finds the Analog Voltage as read from the IO board.
| int DIGITALInit | ( | void | ) |
Initialises connection to the IO board.
| int DIGITALRead | ( | int | io | ) |
Reads the digital input/output pins.
| io | the pin to check status |
| int DIGITALReadAll | ( | void | ) |
Reads all digital pins.
| int DIGITALSetup | ( | int | io, |
| char | direction | ||
| ) |
Sets up the digital input/output pins.
| io | the pin to setup, direction UP/Down |
| int DIGITALWrite | ( | int | io, |
| int | state | ||
| ) |
Writes to the digital input/output pins.
| io | the pin to set, state the state of the pin |
| int IOBoardVer | ( | char * | version | ) |
Gives the version of the board.
| version,the | string to store the version string |
1.8.10