libpruio  0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
io_input.bas File Reference

Example: print digital and analog inputs. More...

#include "BBB/pruio.bi"
Include dependency graph for io_input.bas:

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.
 

Detailed Description

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

Since
0.0

Definition in file io_input.bas.

Function Documentation

◆ main()

int main ( )

The main function.

Definition at line 57 of file io_input.bas.

Here is the call graph for this function: