I am getting PWM signal from asensor which is sensed by atmega32. Which input pin is better for sensing PWM digital input Or PWM input.
Timer2 input capt pin would be my first choice!
(Possum Lodge oath) Quando omni flunkus, moritati.
"I thought growing old would take longer"
Or PWM input.
Tell what you mean by "PWM input".
What is the frequency of the signal? Min and max.
What is the duty cycle of the signal? Min and max.
What is the needed accuracy and resolution?\
What do you need to measure -- frequency? duty? other?
You can put lipstick on a pig, but it is still a pig.
I've never met a pig I didn't like, as long as you have some salt and pepper.
© 2020 Microchip Technology Inc.