Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up button (D7 pin) not working for OLED #573

Open
owen-rp2a03 opened this issue Nov 4, 2024 · 1 comment
Open

Up button (D7 pin) not working for OLED #573

owen-rp2a03 opened this issue Nov 4, 2024 · 1 comment

Comments

@owen-rp2a03
Copy link

owen-rp2a03 commented Nov 4, 2024

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...

@flamebox
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants