Timeline for How does arduino fetch instruction string from sms and execute?
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 13, 2015 at 3:29 | comment | added | Awais Saifi | Ok got that i just have to do it myself now. And appreciate your help man. Thanks a ton | |
| Sep 12, 2015 at 21:23 | history | edited | JRobert | CC BY-SA 3.0 |
Appended a sample sketch demonstrating use of sscanf() in the OP's project
|
| Sep 12, 2015 at 6:46 | comment | added | Awais Saifi | I am unable to understand >sscanf() | |
| Sep 12, 2015 at 6:39 | comment | added | Awais Saifi | and i forgot to mention i am using single 24v dc motor with driver ic ofcourse. | |
| Sep 12, 2015 at 6:36 | comment | added | Awais Saifi | how do i do that? | |
| Sep 12, 2015 at 1:46 | history | edited | JRobert | CC BY-SA 3.0 |
added 21 characters in body
|
| Sep 12, 2015 at 1:45 | comment | added | JRobert | You would first match "motor," (in my example) to decide whether this string is really a motor command. Then you would convert the two following numeric values and use them to control your motor. | |
| Sep 11, 2015 at 19:56 | vote | accept | Awais Saifi | ||
| Sep 11, 2015 at 19:56 | comment | added | Awais Saifi | So basically i have to define a variable with datatype 'char' then in the if-while-else loop we match the sms with the predefined value of the variable. | |
| Sep 11, 2015 at 16:57 | history | answered | JRobert | CC BY-SA 3.0 |