Closed Loop with 2 PWM Signals 180 Degree Apart

I think you want to vary the duty cycle, and those lines are key, but it is unclear if you want to vary it based on the PID's Output or an analogRead(A0).

I remember this thread:

and