Im trying to read an analog value with my esp32 and send it over wifi to another esp32. The wifi part works flawless, however when i try to read an analog value form the esp32 its not useable. It jumps around +-100 on range 0-2000. Now i tried to use an external adc, because i heard that some have problems using the internal one with wifi. However i connected it via pins 21 and 22 (SDA Scl) and i have the same problem.
Internet couldnt help me at all, i hope you guys can.
Br Felix