Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Pi Zero w with Hifiberry miniamp question
#4
@hrenowsky

The gpio logic is more complicated than was allowed for in the script you copied.

If a gpio pin is already been exported then you'll get the message you see when you try to export it again. 

I suggest you consult Raspberry Pi documentation and forums to learn more and then expand your script to test whether the pin is already exported (and either use it or first unexport it and then export it again).

Regards,
Kent
Reply


Messages In This Thread
RE: Pi Zero w with Hifiberry miniamp question - by TheOldPresbyope - 04-08-2021, 06:17 PM

Forum Jump: