Question
Using TIM6 and TIM2 in STM32f407 Discovery board: DHT11 sensor and CAN frames
- April 29, 2025
- 6 replies
- 1649 views
Hello everyone,
I'm using the STM32f407 Discovery board.
I'm trying to use TIM2 to send a frame in a cyclic way and also i'm using TIM6 to send the data of a DHT11 sensor. The problem is that when i added the TIM6 i no longer receiver the frames.
Who should i adjust my code in order to work with the DHT11 sensor data and still send my frames.
I tried to use the DHT11 sensor separately to make sure that the code works and it works perfectly.
