View Single Post
  #6   Spotlight this post!  
Unread 01-10-2003, 00:53
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
Yeah, you could have it that every x amount of loops it adds 5 to the PWM input. About 30-40 program loops is a second.

Just use PWM = PWM + 5 MAX 250 so you don't wrap around.

The other option is to have it turn on or off. This is more limited, but easier to deal with.
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.