Hi, can I have 2 software serials in one sketch?, question is because I have the SIM800L card and a GPS card and I need to read data from the GPS in order to send a message but actually I have the GPS card connected to ports 0 and 1 but it looks I'm having problems to read the info.
Don't cross-post. >:(
Your other post: GSM not working with Arduino UNO - Home Automation - Arduino Forum
.
You can have 2 software serial ports but only one can be used at a time. I would recommend that you get an Arduino with multiple hardware serial ports, like a Mega.
but actually I have the GPS card connected to ports 0 and
The why in the hell would you use SoftwareSerial to read the hardware serial pins?
PaulS:
The why in the hell would you use SoftwareSerial to read the hardware serial pins?
I suspect the OP wants to move the GPS off of pins 0 and 1 so that they are free for communication with the Serial Monitor.
...R