New Homepage Forums Communication Shields Not able to send SMS

Tagged: ,

This topic contains 2 replies, has 3 voices, and was last updated by avatar shaik 2 months, 2 weeks ago. This post has been viewed 544 times

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9594
    avatarJMoon
    Participant

    Getting a problem in the following code.

     

    An SMS doesn’t get sent after the phone call is missed or cancelled. What am I doing wrong here? I changed the Serial.println to Terminal.println in the 2nd last line but even then it doesn’t work.

    Using Arduino Uno

    #9600
    avatarEslam Ali
    Participant

    Hi JMoon,

    Actually the problem comes out from the while(Phone.isRinging( ) ) as the while condition is always true and will always continue to return back and check the while and then it set with true then continue and over and over again and it blocks the rest of your code !! what i’ve ย done is I commented the while condition which is unnecessary for your code and your code works perfect ๐Ÿ˜‰

    Wish you best of luck ๐Ÿ˜‰ .

    #291143
    avatarshaik
    Participant

    which part should be removed?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.