Ah’ that looks correct , Yes Upload looks good, I was referring to the connections? and perhaps your pulling too much current from the connections. i.e sourcing too much as an output ?
I don’t see any connection info , so it’s meant only as a guess.
The Loop is for sure though, I can get that from my XiaoESP32c3 with bad code easy.
HTH
GL