Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Got it, its probably for cases where the input is floating as well.If we use BJT as a switch then we add R2 to create path to GND to avoid base from floating.
If R2 >> R1, then VBASE is just a little below VGPIOSo we put R2 to proper cut-off the bjt.