Skip to main content
sne_123
Associate III
February 21, 2020
Question

Hello I am using STM32F103VB series board. I am using some timer interrupts for my code. I want to configure heartbeat LED which will continuously keep blinking.

  • February 21, 2020
  • 2 replies
  • 689 views

I have configured LED and it blinks properly until timer interrupt occurs. While timer interrupt part is getting executed, LED stops toggling. Once the interrupt part is executed, it starts blinking again. I know this question maybe dumb to many but how can I configure LED in such a way that it blinks even while the interrupt is getting executed?

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
February 21, 2020

Interrupts generally should last less time than is humanly percievable.

Once you'll be ready to use exceptionally long interrupts, you won't need to ask this question.

JW

sne_123
sne_123Author
Associate III
February 25, 2020

@Community member​ :| :expressionless_face: