What can Arduino MICRO input pins be used for?

While the Darlington is continuously turned on and off by the PWM signal, the RC low pass filter will result in a minor ripple of the voltage on the cap. With a H-bridge output the bridge should be turned off when the voltage difference becomes lower than some arbitrary amount, depending e.g. on the ADC resolution.

In the given circuit, with a 5V supply, no negative voltages can occur.