Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
HackerJoe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
HackerJoe
18y ago
R2 is not a pull-down resistor. They are taking an analog reading here, and the resistor is used as part of a voltage divider. You can use Ohm's law to calculate the output voltage. To understand why R2 is needed, imagine the circuit withou