View Single Post
  #2   Spotlight this post!  
Unread 17-01-2004, 10:56
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Trouble with pwm outputs

depending on the size, you might just multiply it by 1000 to give you an integer (if the number is -32.767 < x < 32.767) or some other power of 10 (i.e. if you have values -320.767 - 320.767, mult. by 100)
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)