ramapcsx2/gbs-control

Up button (D7 pin) not working for OLED

Opened this issue · 1 comments

I've tried multiple things but cant quite seem to get one of the three buttons for the OLED/OSD to work. Using momentary switches (three of the ones on the GBS board) I can press the down and select buttons, but can't press up for some reason. I checked with a scope and all three are pulled high and do get pulled down by the button, but only up wont work. I personally can't really read the code and am not sure if there is something missing preventing it from working...

Edit, experimented (set HAVE_BUTTONS to 1, added the capacitors to ground) and now the up key does something, but just flickers when i press down, and... also moves down when i release after a second. Really stumped about it...

#define HAVE_BUTTONS 1
Comment out these two lines:
// attachInterrupt(digitalPinToInterrupt(pin_clk), isrRotaryEncoderRotateForNewMenu, FALLING);
// attachInterrupt(digitalPinToInterrupt(pin_switch), isrRotaryEncoderPushForNewMenu, FALLING);