File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ MP_WEAK const mcu_pin_obj_t *common_hal_analogio_analogin_validate_pin(mp_obj_t
38
38
//|
39
39
//| :param ~microcontroller.Pin pin: the pin to read from
40
40
//|
41
- //| **Limitations:** On Espressif ESP32, `AnalogIn` is not available when WiFi is in use:
42
- //| the hardware makes use of the ADC. Attempts to use `AnalogIn` will raise `espidf.IDFError`.
43
- //| On other Espressif chips, the ADC is available, but is shared with WiFi.
44
- //| WiFi use takes precedence and may temporarily cause `espidf.IDFError` to be raise.
41
+ //| **Limitations:** On Espressif ESP32, pins that use ADC2 are not available when WiFi is enabled:
42
+ //| the hardware makes use of ADC2.
43
+ //| Attempts to use `AnalogIn` in that situation will raise `espidf.IDFError`.
44
+ //| On other Espressif chips, ADC2 is available, but is shared with WiFi.
45
+ //| WiFi use takes precedence and may temporarily cause `espidf.IDFError` to be raised
45
46
//| when you read a value. You can retry the read.
46
47
//| """
47
48
//| ...
You can’t perform that action at this time.
0 commit comments