Go Down

Topic: Solved: reading PWM signal: the "noInterrupts()" function crashes my code! (Read 5446 times) previous topic - next topic


Just wanted to say thanks to all of you who posted here, especially Panther 3001.
I was looking for a way to control an outcome based on PWM signal and this sketch works great for that purpose.
Also, the others who have posted here gave me allot more in-site to PWM processing.
Thanks again  for posting.
Rodney, here's my timer to replace "micros()."  It has a precision of 0.5us, so your PWM reads will be much more consistent, precise, and accurate now.

Visit my RC aircraft, electronics, & Arduino website at http://www.electricrcaircraftguy.com

Go Up