Hello everyone,
I am currently working on a project using BalenaOS 5.1.37+rev5 on a Raspberry Pi 5. I’m using the sample repository from GitHub: balena-rpi-gpio-sample-with-python.
However, I am encountering an issue when trying to run the provided Python script for GPIO operations. The script produces the following warning messages:
main gpio_example.py:14: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
main GPIO.setup(gpioList2, GPIO.OUT)
main gpio_example.py:14: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
main GPIO.setup(gpioList2, GPIO.OUT)
Has anyone experienced a similar issue or can provide some insights into what might be causing these warnings and how to fix them? Any help would be greatly appreciated!
Thank you!