Read GPIO in Python

Anyone got some examples for setting pin states, and reading pin states in python for CM3-IO? :slight_smile: I can find some official examples for writing only.

A couple of days ago I posted a method using gpiod that worked for me on the 3c, might be worth a try if you’re using Bullseye and I’ve included some python script.

Method for using GPIO Pins with Bullseye, Python and gpiod