Try this. but since you have a mega you don't need sofware serial. You can use one of your three extra serial ports in the mega.
Try this. but since you have a mega you don't need sofware serial. You can use one of your three extra serial ports in the mega.