View Single Post
  #12   Spotlight this post!  
Unread 23-05-2007, 17:55
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Interfacing a digital compass with the RC

Quote:
Originally Posted by Dave Flowerday View Post
As for reading the PWM input, sometimes you can take the PWM output and run it through a simple RC circuit to convert it to an analog value that you could read directly with the RC.
Give me a pwm signal, a timer (internal peripheral) and an external interrupt (portb) and i'll time you a pulse...

Have had to do this this year and in the past for getting distance data out of an ultrasonic sensor...

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08

Last edited by Qbranch : 23-05-2007 at 17:56. Reason: Yeah... commas separate list items in coloquial english... :o