I am doing a project with a current transformer , esp32 dev kit , visual studio code and platformio.
After I download my project to esp32, I turn on the serial monitor, the serial monitor works, but after that, if I try to download the sketch again . Shows a error that say that in cant connect to the board. The only way to solve the problem is to press the boot button on the esp32 board. This is the only project that I have this problem, with, all other download without pressing the reset button on the esp32.
It looks that the emonlib is causing some incompatibility with platform io. if I test the same project in the arduino ide it works perfect.
help would be much appreciated, thank you