Hi, I would like to use the SWIM port of STM8L001J3 to control an LED.
Obviously the same port will also need to be used for debugging and programming.
I ask if it is possible to connect the LED directly to the port or if is it better to use a MOS-N (2N7002) to avoid impedance problems?
I attach the schematic of the solution with MOS-N.
Thank you for your valuable feedback and suggestions