Anyone know how I could detect which BCM number to check for on Y? Is it 20 vs 24? I'm trying to bulletproof my script for the buttons before publishing.
It's not possible to auto-detect without user input, but you could use a minimal Python script to set up each pin, prompt the user to press the "Y" button and the pin that goes low would be the one you need.
Anyone know how I could detect which BCM number to check for on Y? Is it 20 vs 24? I'm trying to bulletproof my script for the buttons before publishing.