What's the output impedance of GPIO output pin?
Simple calculation based on my testing suggests 50 ohms.
I'm using the pins to light up 8 LEDs (no more than 2 at a time), and switch mosfets to drive 2 unipolar stepper motors. The LEDs work well, but the mosfet is not turned hard on despite its Vgs << 3.3V - the torque from the motors is very low as a result. So I measured the voltage across the LED and got about 2.2V - enough to power the LED but not to switch the mosfet hard-on. Either the LED is acting as a zener, or the GPIO pin has a 50ohm output impedance or I've got something wrong. There is a 100k pull-down resistor gate to ground to keep the mosfet off when the GPIO has not yet been set up as an output.
Any idea which or other suggestions as to the problem? Circuit driven by 2A 5V phone recharge battery pack