Working with STM32 and ultrasonic: using timer and interrupt to measure the distance
Posted October 7, 2021
by Husamuldeen
In the previous guide(here), we looked at the operation principle of how ultrasonic works and we used very crude code to measure the distance. In this guide, we shall use external GPIO interrupt and timer 2 of the STM32F4 to measure the distance...
READ MORE