@Jim-W
I know that onion GPIO is not supported by python3.
There are two ways to use GPIO in python3.
- Install a separate GPIO module that supports python3
- Import the source of onion GPIO and add it to the modified project according to the syntax in python3