1

I am using an Arduino Mega board with a SIM900 GSM.

My goal is to be able to text the GSM with a value of two digits (ex: 79) and then store that value as a variable in the code.

I know how to set up the Mega and the GSM in terms of wiring and initialization of ports, but I am not sure what command/ combinations of commands I should use to take the incoming data from the GSM and store it as a variable.

If anyone can help me with this I would greatly appreciate it.

3
  • can you please elaborate "text the GSM"? – ARK Apr 19 '16 at 10:15
  • What I mean by "text the GSM" is that I would like to be able to send an SMS message with a number, such as "79" to the sim card in the GSM. I would then like to take that incoming data (i.e.79) and store it as a variable in the code. – user131763 Apr 19 '16 at 10:38
  • What have you tried? There must be hundreds of articles on this topic on Google. – CharlieHanson Apr 19 '16 at 18:06