I have just been trying to upload a sketch to the esp8266-07 device whilst it was fully connected to the arduino mega but it won’t upload the code with an error regarding communication.
Everywhere I have turned suggests it’s much easier using a esp8266 usb to serial adapter and so I have bought some so that I can program it directly.
However, is there a way to program the esp8266 module via the arduino or will the IDE development program only see the arduino? TX and RX of the esp are connected to RX1 and TX1 respectively on the arduino leaving tx0 and rx0 to be used for the serial monitor on the computer.
Or do I have to plug it in directly via USB adapter?