timer - 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!
解决方案
推荐阅读
- firebase - Firebase 验证规则。如何让规则发挥作用?
- php - 如何在 laravel 中与 API Guard 同步会话数据
- javascript - 如何使用 NodeJS/express JS 获取 MongoDB 中的文档数
- http - Flutter Dart - 如何使用 HttpClient() 发送 Post 请求
- xamarin - 如何在 xamarin 表单中单击时禁用 shell 弹出(菜单项)缩放
- php - 不加载模型的 Laravel OrderBy 关系计数(计数)
- python-3.x - Python Output Conversion
- android - 使用android更改html代码的值
- java - 当我尝试连接 ht2 数据库时,找不到数据库“mem:”,并且 IFEXISTS=true
- html - 我想要一个扩展表(左->右),但第一列是固定的