Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 54f3c6b + 7506055 commit 7019b95Copy full SHA for 7019b95
doc/reference.md
@@ -36,7 +36,7 @@ ESP8266 has a single ADC channel available to users. It may be used either to re
36
37
To read external voltage applied to ADC pin, use `analogRead(A0)`. Input voltage range is 0 — 1.0V.
38
39
-To read VCC voltage, ADC pin must be kept unconnected. Additionally, the following line has to be added to the sketch:
+To read VCC voltage, use `ESP.getVcc()` and ADC pin must be kept unconnected. Additionally, the following line has to be added to the sketch:
40
41
```c++
42
ADC_MODE(ADC_VCC);
0 commit comments