The number of LEDs that can be connected to a port of 8051, if all are expected to glow simultaneously is
A. 6
B. 8
C. 10
D. 12
Answer:A
The number of LEDs that can be connected to a port of 8051, if all are expected to glow simultaneously is
A. 6 B. 8 C. 10 D. 12
Explanation: If 8 LEDs are connected to a port of 8051, and if all are expected to glow simultaneously, the total current sinked by the 8051 port will be 8×8=64 mA (since min voltage for an LED to glow=8 mA) which is less than the maximum 71 mA.