I connected my ESP8266 to my arduino as showed in this following video: https://www.youtube.com/watch?v=N8pHpQSB1y4
In the arduino boards I chose the Generic ESP8266 Module with 115200 baud rate. I tried to upload the following code, but everytime the it stucks on the Uploading with errors: code + errors
What can I do to fix it? I switched the RX and TX and make sure that the VCC is connected to 3.3V. Thanks for the helpers.