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!
All possible ways to work with DIO
Re: All possible ways to work with DIO
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!
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!