??? 10/19/10 19:15 Read: times |
#179197 - BiDir or PushPull Responding to: ???'s previous message |
Is the pin attached to the LED anode programmed to run in the bog standard 8051 style BiDirectional mode (with internal weak pullup) or are you programming it to be a push-pull pin?
Note that a BiDir pin mode sourcing current into an LED and then to a resistor to GND will not be a good way to light the LED. A push-pull pin can source the current needed to light the LED. If you do not have a push-pull output pin then you should connect the port pin to the CATHODE of the LED and the anode to the 330R resistor to VDD. Michael Karas |