Example: print digital and analog inputs. More...
#include "BBB/pruio.bi"
Go to the source code of this file.
Functions | |
int | main () |
Variables | |
VAR | io = NEW PruIo |
Create a PruIo structure, wakeup subsystems. | |
VAR | x = POS() |
The cursor column for output. | |
VAR | y = CSRLIN() - 5 |
The cursor line for output. | |
Example: print digital and analog inputs.
This file contains an example on how to use libpruio to print out the state of the digital GPIOs and the analog input lines. Find a functional description in section io_input.
Licence: GPLv3, Copyright 2014-2023 by Thomas{ doT ]Freiherr[ At ]gmx[ DoT }net
Compile by: fbc -w all io_input.bas
Definition in file io_input.bas.
int main | ( | ) |
The main function.
Definition at line 57 of file io_input.bas.