View Single Post
  #10   Spotlight this post!  
Unread 18-10-2006, 23:39
yongkimleng yongkimleng is offline
deus ex programmeur
AKA: James Yong
FTC #0747
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2004
Location: Singapore, West
Posts: 134
yongkimleng is a jewel in the roughyongkimleng is a jewel in the roughyongkimleng is a jewel in the rough
Send a message via MSN to yongkimleng
Re: ADC advice needed

Quote:
Originally Posted by Josh Siegel
Thank you, but my question is more about PWM sensors -
The compass has an I2C output, but it also has PWM output capability. I think the issue is that it isn't a standard radio protocol; is there some way to make it work?
yes, if it isn't a standard radio protocol, you have to measure the pulse width urself either using the microcontroller's CCP function or interrupt function. Read my previous post's points 1 and 2.. you may want to check out the datasheet's info on CCP too. The CCP and timers can be configured to measure ANY pulse width.. the problem is finding out which pin the CCP goes to
__________________
| jamesyong.net |
FVC2007, FTC2008