I am trying to make a very basic remote control... I have an infrared emitting LED and an IR detector.
Can someone explain how i can make different buttons activate the IR LED each with a certain duty cycle % so the IR detector can receive it and perform a function, in pseudo code?
I understand i need to utilize duty cycle but i dont quite see how i can control it..
I need a quick explanation as to how to utilize duty cycle or pulse width modulation.
thank you inadvance
Can someone explain how i can make different buttons activate the IR LED each with a certain duty cycle % so the IR detector can receive it and perform a function, in pseudo code?
I understand i need to utilize duty cycle but i dont quite see how i can control it..
I need a quick explanation as to how to utilize duty cycle or pulse width modulation.
thank you inadvance