File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,17 @@ pin, except GPIO16. Standard Arduino interrupt types are supported:
74
74
Analog input
75
75
------------
76
76
77
+ **NOTE: **
78
+ Calling ``analogRead() `` too frequently causes WiFi to stop working. When
79
+ WiFi is under operation, ``analogRead() `` result may be cached for at least
80
+ 5ms between effective calls.
81
+
77
82
ESP8266 has a single ADC channel available to users. It may be used
78
83
either to read voltage at ADC pin, or to read module supply voltage
79
84
(VCC).
80
85
81
86
To read external voltage applied to ADC pin, use ``analogRead(A0) ``.
82
- Input voltage range of bare ESP8266 is 0 — 1.0V, however some many
87
+ Input voltage range of bare ESP8266 is 0 — 1.0V, however some
83
88
boards may implement voltage dividers. To be on the safe side, <1.0V
84
89
can be tested. If e.g. 0.5V delivers values around ~512, then maximum
85
90
voltage is very likely to be 1.0V and 3.3V may harm the ESP8266.
You can’t perform that action at this time.
0 commit comments