13-04-25, 09:57 -
SOLVED: In case any other folks unfamiliar with GPIO stuff would find it useful.
I ended up using the unedited GPIO configuration.txt code from the Sbox20220206
And wired the buttons:
Increase/preset+ goes from GPIO5 - 1k resistor - button - ground
Decrease/preset- goes from ground - 1k resistor - button - GPIO13
No idea if that's the best way but it works so I'm going with it.
I ended up using the unedited GPIO configuration.txt code from the Sbox20220206
Code:
# -- USE_BUTTONS --
# A valid GPIO value will activate the button
# Increase, increases value/proceeds to next menu choice
# Decrease, opposite of above. In 3-button setup it will return from submenu
# Select, either selects menu choice or returns to menu from value set
# Return, if this button is available, it returns to menu and the decr-button is consistent
BUT_incr=05
BUT_decr=13
And wired the buttons:
Increase/preset+ goes from GPIO5 - 1k resistor - button - ground
Decrease/preset- goes from ground - 1k resistor - button - GPIO13
No idea if that's the best way but it works so I'm going with it.