I'm very new to Arduino and hopefully someone here can help.
I'm working on a project with some students where they would like to read a PWM signal and turn it in to a green, amber or red LED depending on the length of the high-side signal.
For example if the duty cycle is high for <85% the green LED will be lit, 85% - 90% amber and >90% red.
I can find lots of info online of Arduino generating a PWM signal but there's not much about reading PWM.
Does anyone know if what i'm trying to achieve is possible and if so which Arduino product would be best?