Dear, I've been playing with microcontroller ATMEL89c52 tied to a sensor. I have problem to measure the PWM sensor pin, I connect the PWM sensor pin with the (timer 2 (P1.0) & timer 2 Ex (P1.1) pin in the microcontroller. As I understood should use capture mode & (up & down mode). It would be great if u have any idea about this think or if u can provides me some assembly code samples for doing this.
I will wait on ur reply I appreciate your prompt acknowledgment. Thanks