1

i have been trying to read text message from a sim module over serial1 of arduino mega, when i use the code msg = Serial1.readString(); the readString return an empty string i dont know if this is a problem with Serial1 or the readString() function. whenever i use the serialpassthrough that uses Serial1.read() the text message comes in complete but readString() dont work

4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.