Please a picture of the module. Is it like those, there is on those pages. https://www.espruino.com/EspruinoESP8266 https://www.espruino.com/ESP8266 If it is, then D1 is tx out.
@Frida started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Please a picture of the module.
Is it like those, there is on those pages.
https://www.espruino.com/EspruinoESP8266
https://www.espruino.com/ESP8266
If it is, then D1 is tx out.