Le POtatoe - AML-S905X-CC is the board.
I’m working on a project, and am not a stranger to SBCs. I’ve since narrowed down the problem to the fact that I cannot seem to pull a pin on this board to LOW.
I’ve taken out all of the other variables and currently have pin 8 (right next to 5v,5v,GND) hooked directly to ground.
lgpio get 12
returns HIGH.
ultimately, I am working in python and have tried cycling through every pin and outputting their states, looking for changes when I pull different pins to ground, but the states never seem to update. I’ve tried multiple libraries to make it work ,and have now taken python out of the equation to just access the pins from CLI.
help!
Hello,
Have you installed the libre wiring tool? Libre Computer Wiring Tool
If not, start there. You will need to read up on it.
You’re lucky you have their main stream board. All the documentation is…mostly there.
Yes, thanks. I’ve used verify that I didn’t mess up the python code. The wiring tool shows that the pins are not changing state, even if connected directly to ground, or if I set them in the CLI.
I could be wrong, but I think you can only use the wiring tool to interact with the pins, once you use their tool to set the pin condition, you have to reboot in order to take effect.
–My two cents–
You need to read the documentation for libretech-wiring-tool. Libre Computer Wiring Tool
If you are setting a pin, you need the set command. The get command reads the binary voltage level.
The wiring tool uses the pin order for numbering.