I'm getting a RuntimeWarning: This channel is already in use, continuing anyway.
from a line of code that gets run many times with different pins. I'm concerned that I may be trying to use a GPIO pin that was already being used for something else (for example, I already found one where I was using an I2C pin for GPIO while also using I2C). How can I figure out which pin is causing the error without just manually checking each one?
I tried looking for something like issetup()
or similar to check before I run setup, but nothing like that appears to exist.