15. Design GPIO indicator

A microcontroller output GPIO_OUT switches between 0 V and 3.3 V.

Design an active-high indicator using the provided Red LED LED1 so that:

  • At GPIO_OUT = 0 V, LED remains OFF.
  • At GPIO_OUT = 3.3 V, I_LED1 ≈ 3 mA.

Example test cases:

GPIO_OUTExpected I_LED1
0 V<1 µA
3.3 V≈3 mA