Module btn_mod

Module btn_mod 

Source
Expand description

Module for Handling Buttons Uses external interrupts to handle button input.

Note that the documentation and examples for embassy-stm32 version “0.4.0” does not match the actual source code for the exti module. The exti module is actually the same as version “0.3.0”.

Note that Non-Blocking delays are used to handle signal bouncing.

Constants§

BOUNCE_DELAY
A delay to handle signal bounce. Default at 50ms.

Functions§

btn1_task
btn2_task