|
Re: Interfacing a digital compass with the RC
Quote:
Originally Posted by Dave Flowerday
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
|