No doubt a noob question... but I'm trying to get my head around it - I need to read serial data sent from a device, so have plugged its TX into the RX of the ESP8266. In code, Serial obviously relates to the debug console via USB. How do I read code coming into the RX pin? Does Serial1 exist and relate too it? Do I have to use SoftwareSerial? If I use SoftwareSerial, what pin number does RX relate too?
Sorry, I'm just too used to Arduino hardware!
Thanks