M5Stack-Camera
M5Stack-Camera copied to clipboard
Cannot use analogRead of GROVE interface with WiFi
ADC2 channel cannot be used when WiFi is in use.
M5Camera uses the pins which cause analogRead() to fail as GROVE interface. So we cannot use some sensors which need analogRead()to use. I think it's kind of a product bug.
Is there any workaround? I'm using M5Camera model B with Grove Sound Sensor.
Related
- https://github.com/espressif/arduino-esp32/issues/102
- ADC2 channel cannot be used when WiFi is in use
It is recommended to add an adc module, use i2c