All possible ways to work with DIO

Topics about the Software of Revolution Pi
Post Reply
DanielDimov
Posts: 1
Joined: 24 May 2025, 17:03

All possible ways to work with DIO

Post by DanielDimov »

Hello there,

can you describe me in short what are all possible ways to programmatically configure, read and change the IOs on RevPi DIO module?

One way is to use the python library and (of course) python program to do this... What are other ways?

Is there any way through standard OS files ?

Is there any documentation how to do this from C/C++ ?

Are there any other libraries (except for python) to manipulate the outputs and read the inputs?

Thanks in advance!
tboehler
KUNBUS
Posts: 14
Joined: 02 May 2023, 16:22

Re: All possible ways to work with DIO

Post by tboehler »

Hello!

You already mentioned RevPiModIO https://revpimodio.org/. This is the easiest way to interact with the RevPi modules.

Another way is through C/C++ through Linux kernel ioctl's. The piTest program is an example of how to do this: https://gitlab.com/revolutionpi/revpi-p ... type=heads. You can find the documentation for this in the "picontrol_ioctl" manual page via "man picontrol_ioctl" on a RevPi.

There isn't a way to interact with the modules through standard OS files.

I'm not aware of any other libraries existing for the RevPis.

Hope I could help!
Post Reply