Content protected from screenshots
Question

What is the role of the external resistor R in the circuit?