armbian-mkspi
armbian-mkspi copied to clipboard
Any tips on setting a pin state?
What happened?
I just want to set a pin to activate a relay. I have tried many things, shell scripts, python, 99% suggestions from chat-gpt but nothing works. I'm trying to use 1_C7 and 1_C3 on gpiochip1, I found that there is a folder named gpiochip1 under /sys/class/gpio/gpiochip32/device but I have no idea what I'm doing. I'm trying to set openHAB up to turn on a relay that runs a pump for 5 minutes and I will need some pins to run my moisture sensors off of. I feel like I'm going to need to buy a better supported pi but any help would be appreciated. I have plenty of time to troubleshoot, so just tell me what I should do.
How to reproduce?
I've tried pyGPIO, RPi.GPIO, pigpiod with varying unsuccess. either libraries are just not supported or python just wouldn't work with the libraries. maybe we could work with pyGPIO and make a mapping for this board? I'm not sure, I'm a pi noob.
Branch
main (main development branch)
On which host OS are you observing this problem?
Other
Relevant log URL
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct