Using a two transistor NAND gate as a IR LED modulator (PWM + I/O)

michael_x:

In that event, use two diodes on a power transistor's base.

... giving a wired OR instead of a NAND ... ?
are you thinking of a PNP transistor ?

technically NOR, since the output voltage is inverted (this is diode-transistor-logic I believe) - resistors will work in
place of diodes (resistor-transistor-logic), and with the diodes there should be a base resistor
too of course. For gating an LED, wired-OR/NOR won't work as the neither input can suppress
current.

If using two transistors anyway then one can be a PNP high-side switch and the load can go in the middle - this is
then a 1x1 LED array perhaps!