首页 > 解决方案 > RESET timer after each match

问题描述

I want to have an LCD which turns on with a button press and after some time(for example 10 seconds) if button do not pressed again, LCD turns off.

I want to implement this with STM32L433 and basic timer TIM6. Note that for some reason I need to use freeRTOS in this program which is not related to LCD operation.

How can I reset timer every time button is pressed to avoid from turn off LCD ?

best!

标签: timerstm32reset

解决方案


推荐阅读