Resolved! In input capture function , i am trying to interface HC-sr04 Ultrasonic sensor to STM32F401. I am giving input to TRIG pin with 10 micro seconds ON and Need to Measure Pulse from ECHO pin of the Sensor and not getting Exact Width.
The Pulse width value of the waveform in input capture is not matching with orginal Pulse from sensor output .Please help.#include<NEW.h>#include<stdio.h>#include<stdarg.h>void Ultra_setting();void delay(int val);void Tim3_Capture();void Uart1_config...