[Tinyos-help] Reading PWM signal

Jan Soukup muflacek at centrum.cz
Sun Apr 1 08:33:50 PDT 2007


Hi everybody, 

I want to read a PWM signal from accelerometer with a Tmote Sky module. But as far as I just found out, when I use GPIO input, only the rising edge OR the falling edge 
of the signal can be captured. Am I right? But I need to measure both, because of time stamps to know the ratio of the periodes. Can anyone help please? Can I use analog inputs of the ADC instead of Digital IOs?

Thanks, Jan 



More information about the Tinyos-help mailing list