EspSerial(2, 3); // RX, TX

Of course, that line of code can and will change depending on the chosen pins and/or the board you use :wink:

Also… just some of the topics of relevance in this forum…

etc, etc…

And of course on the Web…

https://www.google.ca/search?q=Arduino+ESP+softserial