Noob Q about Infrared and LED

groundFungus:
So what is passed to the switch statement in the last code that you posted?

Sorry for my absence.
[DELETED]