Skip to content

toggling a led with an overflow time interrupt and starting the timer with a button

Notifications You must be signed in to change notification settings

ALUIS97/Simple_timeout_application

Repository files navigation

Simple_timeout_application

Toggling a led with an overflow time interrupt and starting the timer with a button

This repository shows:

-How to configure the TIM1 as a time base

-How to toggle a led with the update Interrupt (means when the counter overflow the period)

-How to start the TIM1 with a button and stop it in the ISR

-How to set a value to the counter in runtime

-How to clear a flag of the timer

EX_9.6_Simple_timeout_application.pdf= report generated by CUBEMX

About

toggling a led with an overflow time interrupt and starting the timer with a button

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages