libpruio  0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
1.c File Reference

Example: minimal code for ADC input. More...

#include "stdio.h"
#include "libpruio/pruio.h"
Include dependency graph for 1.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 The main function. More...
 

Detailed Description

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. Find a functional description in section Simple (1).

Licence: GPLv3, Copyright 2014-2023 by Thomas{ doT ]Freiherr[ At ]gmx[ DoT }net

Compile by: gcc -Wall -o 1 1.c -lpruio

Since
0.0

Definition in file 1.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

The main function.

create new driver structure

Definition at line 22 of file 1.c.

Here is the call graph for this function: