I communicate between 2 ESP32s by outputting and receiving PWM signals using 2 commands ledcWrite and pulseIn. Everything works quite well, however, on the same ESP32 when I output a pulse value on one pin, and read the pulse value on another pin, inadvertently, that pin also has a similar value (not continuously, but it affects my results; if I connect it to the pulse from the other ESP32, then it's not an issue) even though I don't connect these two pins together.
15 posts - 4 participants