[add] generate 38kHz IR signal and turn on LED if detected

code seems ok, hardware doesn't cooperate yet.