Esp32 programming help needed

Nobody can tell! You forgot to tell what does happen.

By the way, read this topic telling how to post code, not text like You did.

Link: How to get the best out of this forum - Using Arduino / Installation & Troubleshooting - Arduino Forum