M M
M M
DIIDevHeads IoT Integration Server
Created by Sterling on 9/27/2024 in #firmware-and-baremetal
Debouncing Joystick Input for Frequency Control on STM32 NUCLEO-F401RE
I think both issues are cuz of lack of debouncing. You can add a simple delay or a timer in your ISR to ignore rapid signals that occur too close together. Check the time between ISR calls, and only act if a minimum threshold has passed. Also, add external pull-up/down resistors. It can improve signal stability.
3 replies