madhushan90
Newbie level 6
- Joined
- Jul 26, 2012
- Messages
- 12
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,362
Hi everyone, i want to get the time period of a pulse in mikroc pro. I'm using SR04 ultrasonic sensor, when it triggered it will generate a pulse. To calculate the distance, we have to divide pulse time period by constant given by the manufactures. The thing is time period should be within rising edge to the falling edge in same pulse. Please help me to do this. thanks.