2024-01-05 12:33 PM - edited 2024-01-05 02:47 PM
HelIo,
I connected the anode from a diode to the operating voltage and the cathode to a pinx. I need ground to make the diode glow. How can this be implemented?
2024-01-06 09:35 AM
This is the overview in SFR:
MODER and IDR have a value.
2024-01-06 09:58 AM - edited 2024-01-06 09:59 AM
IDR is input data..
MODER looks ok, 440 = pin 3+5 -> output. ODR = 0, outputs lo.
LEDs on ? check voltage at pins 14+16 , with and without your plug connected.
2024-01-06 10:38 AM
LEDs are not on. No plug no voltage. The problem is because the pins do not allow any current to pass through to ground of the pin.
2024-01-07 01:19 PM
Hello, thank you for your effort. I found the error. Pins PF3 and PF5 are not suitable for reasons I can't explain. I've bridged in the hardware to 2 other pins and it works.