Generate a proportional output using the output compare resource on the PIC®32MX processor to implement digital-to-analog conversion with pulse width modulation (PWM), thus controlling the speed of a DC motor.
Use the PIC™ 32 input capture to measure frequency to determine the speed of a DC motor.