SoftwareSerialExample doesn't work well.

You have posted one sketch. What's running on the other device?