Originally posted by FotoPlasma
We use some robot reversal code:
It's not elaborate, or even too important, but I'm really proud of it...
Or you can just write it to scratch pad ram...
put 0, PWM1
PWM1 = PWM2
get 0, PWM2
PWM1 = ~PWM1
PWM2 = ~PWM2