Example: analyse the devices configurations. More...
Go to the source code of this file.
Variables | |
VAR | io = NEW PruIo |
include libpruio More... | |
VAR | x = i * (PRUIO_GPIO_DATA SHR 2) |
VAR | b = P8_Pins(i) |
Example: analyse the devices configurations.
This file contains an example on how to use libpruio to read the original configuration of the devices. It creates a PruIo structure containing the initial data and then prints out in a human-readable form.
Licence: GPLv3
Copyright 2014 by Thomas{ dOt ]Freiherr[ At ]gmx[ DoT }net
Compile by:
fbc -w all analyse.bas
Definition in file analyse.bas.
VAR io = NEW PruIo |
include libpruio
include the convenience macros for header pins create a PruIo structure, wakeup devices
Definition at line 27 of file analyse.bas.
VAR x = i * (PRUIO_GPIO_DATA SHR 2) |
Definition at line 34 of file analyse.bas.
Definition at line 52 of file analyse.bas.