Page 1 of 1

Python Code Examples

Posted: 25 Oct 2017, 21:14
by MolassesPi
Hello All,

I am brand new to the Revolution Pi and still discovering how to use it. I have managed to get my Core 3 and DIO module setup and verified they are functioning. The next step that I need to take is to be able to write a custom program with Python. I have scoured everyplace that I can think of, but I can't find any documentation or examples that explain how to access the DIO module with a Python script. Eventually I will need to do the same with the AIO module as well, but baby steps for now.

Is there a resource that I can access that has some example python code for using the DIO and AIO modules?

Thank you in advance for getting me going.

Re: Python Code Examples

Posted: 26 Oct 2017, 08:47
by Timo
How about RevPiModIO? It is a Python library for accessing the IOs of the PI: