IR signal to external GPIO pin?

Hypothetically let’s say I was to take a walk in my neighborhood with my wife and my flipper and I notice that I left the TV on in the house and wanted to turn it off. I get my flipper out and hit the power button on the IR app but really isn’t bright enough from the street and through the window to reach the TV.
So I could try to attach a higher power emitter, maybe focused in a flashlight body to try to reach in the window to the TV.
I would need access to the internal signal that drives the internal LEDs. I just got my flipper last night and I am new to the whole thing. I looked at the schematics and see the GPIO for the IR_TX is not shared with an external pin. I looked at the source code but at first glance I didn’t see where it was assigning the GPIO in the software.
Where should I look? Can I make a separate IR app to use the alternate pin or ideally both at once?

Is there an easier way to solve this important problem?

2 Likes

So I found the answer is to simply enable INFRARED_TX_DEBUG (set to 1) in furi_hal_infrared.c and the ir signal DMA will be sent to GPIO_PIN_7. I haven’t made an external emitter yet but I verified the signal looks good.

More later…

2 Likes