Example: minimal code for ADC input. More...
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Example: minimal code for ADC input.
This file contains an short and simple example for text output of the analog input lines. It's designed for the description pages and shows the basic usage of libpruio with a minimum of source code, translatable between FreeBASIC and C.
Licence: GPLv3
Copyright 2014 by Thomas{ dOt ]Freiherr[ At ]gmx[ DoT }net
Compile by:
gcc -Wall -o 1 1.c /usr/local/lib/freebasic/fbrt0.o -lpruio -L"/usr/local/lib/freebasic/" -lfb -lpthread -lprussdrv -ltermcap -lsupc++
Definition in file 1.c.