Hai friends..
I hope you people only help to me in this simplest project.!!!
I wrote a program for generating 10%, 20%, 30%... dutycycles of pulses in atmelstudio6 for atmega8 MC. Now i wanna to detect that pulses and need to glow the LED respective to that dutycycles.
For example, i took one input pin and 6 output pin. when 10% of duty cycle is received at input pin, Led1 will be glow which is connected in (PD0) first output pin. If i give a 20% dutycycle pulses as a input then LED 2 will be glow (PD1), etc... Like wise the 6 Led want to be glow with respect to different dutycycles of pulses..
I wanna thid program... Please help me