Getting more current from GPIO
I'm using an STM32F373's UART to output MIDI data. Basiclly the TX USART pin needs to light an LED in the MIDI cable's opto-coupler. I currently have the TX pin connected directly to the MIDI DIN connector pin through a 200ohm resistor.
I know this is ok to power an LED locally on the PCB, but is this ok if the signal is powering an LED at the end of an external MIDI cable which potentially could be shorted or have power connected into it by mistake? Should I isolate it the uC's TX pin? ( was thinking using an 4N35 optoisolator like I did for the MIDI input/USART RX, but wanted to see if there was a more optimal design option.
Thanks,

