How to turn on a motor using the GSM shield?

I'm working on a project where I need to control two stepper motors using an SMS message.

It is supposed to turn the first motor for 15 degrees if the SMS message says "1" and turn the second motor for 15 degrees if the SMS message says "2".

I'm using an Arduino Uno and the official GSM shield and an Adafruit motor shield.

So is it possible to do this?

It's possible. Do any of the pins conflict?

dannable:
Do any of the pins conflict?

What do you mean?

Are any of the pins used by the motor shield also used by the GSM shield? If so you need to figure out a way round it.

Does the software library that you will be using to control the motors conflict with any software you will use to communicate with the GSM shield?

You might be better off closing this thread and starting one in Project Guidance?

I don't think that this is a problem, the problem is with writing the program.

Ok, what have you got, what does it do and what should it do?

dannable:
what does it do and what should it do?

It is written up in the main topic

I can't see your code in there. That is just a spec.

I tried to modify the ReceiveSMS example in the Arduino software but I couldn't get it to work.

Which suggests that you've not looked at the link in my signature? It gives an example of how to turn an LED on and off. It shouldn't be too difficult for you to modify it.

But I'm not using the same GSM shield, will the programming be different?

Yours might use different pins but the code was written to work on any modem that uses the Hayes AT command set. Which these days is all of them I believe!

SoftwareSerial GPRS(2,3); for the official shield.