I am using a PIC24FJ64GA002. I need to measure the duty cycle of an input pin. The input is a pulse width modulated square wave with a base frequency of about 40 Hz. I am pretty sure that the best way to go about it would be to use the Input Capture modul..
↧