5453Views4Replies
Arduino SoftwareSerial problem.
I recently purchased and assembled the sparkfun GPS shield, and an EM 406a GPS module. I also have a parallax serial lcd module. They both work, but when used in the same code, neither of them work. They bot use the SoftwareSerial library, but they are on different pins. Any help?
Comments
Best Answer 7 years ago
5 years ago
OK!
But my Arduino said:
error: #error NewSoftSerial has been moved into the Arduino core as of version 1.0. Use SoftwareSerial instead.
And SoftwareSerial doesn't work too!!!
What i do wrong? )))
Answer 5 years ago
Dunno. How can I tell ? The least you could do is post your code....
7 years ago
The library is limited to using only 1 serial port at a time. Your code will have to switch back and forth between your 2 serial ports and give enough time to scan each port so the information can be transmitted back and forth. Check the included example for using multiple ports.