I am using ESP32 to perform both analog and digital reads.
I perform analog read on ADC1 (8 channels, attached to GPIOs 32 - 39).
If I read from pin 39 and none of the other pins are used, the read is fine.
But if I use any of the other pins (for instance 34) to read a digital signal, as soon as this signal is HIGH, then the analog read on pin 39 is returning wrong values.
Is it forbidden to use ADC1 for both analog and digital reads? Are there any guidelines to work around this issue?
Thanks
Greg
I strongly believe that I should start programming/learning the ESP32 based on the signal signatures what have been shown in Fig-1 of post #3. For advanced learners, the approach could be different.