View Single Post
  #13   Spotlight this post!  
Unread 04-18-2002, 05:17 PM
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
Quote:
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...

Swap:
put 0, PWM1
PWM1 = PWM2
get 0, PWM2

Inverse:
PWM1 = ~PWM1
PWM2 = ~PWM2
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.

Last edited by Jnadke : 04-18-2002 at 05:23 PM.