I’ve been pulling my hair out on this, I have multiple components with NEC commands, stick on IR LEDs, if I can switch between the LEDs I’ve got it made! Any assistance would greatly appreciated, thanks.
It does not look like you can have multiple transmitter components. So you are going to have to multiplex the the IR LEDs.
Connect all the IR LED anodes to the transmitter GPIO as normal.
Connect each LED cathode to a GPIO rather than GND (use the GPIO switch component). Turn the appropriate switch off before transmitting (to create a GND connection). The other switches should be on.
The other LEDs will transmit an inverted code, thus not doing anything (hopefully). If they do false trigger things then you will have to switch the LEDs with open collectors. We’ll cross that bridge if we need to.
Ah yes, I hadn’t considered the multiplex option, it may be the way I have to go, thanks Tom!!!