Thread: PWM Problem
View Single Post
  #5   Spotlight this post!  
Unread 13-02-2008, 10:07
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: PWM Problem

The compass driver (for the CMPS04) reads PWM values from interrupt ports. It's a little compute intensive, but might work for you.

You could connect whatever you have that's generating PWM signals and give that a try. The values you get back will be related to the duty cycle of the input signal.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute