16. Drive two LEDs

The circuit has two LEDs powered by VIN = 9 V:

  • Yellow LED1 with forward voltage 2.4 V.
  • Blue LED2 with forward voltage 3.6 V.

Using only one resistor, design a circuit so that both LEDs draw approximately 10 mA each.

Example test cases:

VINExpected I_LED1Expected I_LED2
9 V≈10 mA≈10 mA