Rising edge interrupt triggering multiple times on STM32 Nucleo

前端 未结 3 1813
无人共我
无人共我 2021-01-28 03:09

I am using the STM32 NUCLEO-F401RE microcontroller board.

I have a speaker programmed to change frequency by a set amount when the joystick is pushed up/down. My issue is

3条回答
  •  鱼传尺愫
    2021-01-28 03:43

    Simple do not use EXTI for mechanical yousticks and buttons.

    Use regular interrupt (for example systick) to poll the status of the pins.

提交回复
热议问题