HOW to read the PWM signals of particular frequency in the arduino Atmega8

Please help us in reading the PWM signals that are coming from the receiver . We have a four channel receiver that outputs 4 PWM signals of 22 ms pulse,the on time of PWM signal varies from 1 ms to 2 ms on moving the analog stick of the transmitter from bottom to top position on channel1 and similarly on other channels. We are new and have never read the PWM signals in atmega8,

After reading the PWM signals,we have to process those signals and then generate four PWM signals according to our logic .All ur help will be appreciated.


check the pulseIn examples on the tutorial page.

Thanks a lot for your advise.......Today we have read and write the PWM signals........

Repeat after me "Cross-posting wastes everyones' time, and I won't ever do it again".

"Cross-posting wastes everyones' time, and I won't ever do it again"

So, where have you been cross-posting, AWOL?