GSM shield SIM900 and G1 waterflow sensor

i wanna ask a question
i have my SIM900 pin to 2 and 3 digital pin on arduino UNO
i have G1 waterflow sensor and example code http://www.instructables.com/id/How-to-Use-Water-Flow-Sensor-Arduino-Tutorial/ and in the code the sensorPin= 2 and i wanna change it to another pin because pin 2 on my port already used by SIM900, but after i change it the code doesnt work. please help me........
any solutions? thanks

That set of instructions is using the Interrupt on D2.

You will need to change your SIM900 to use 3 and 4.

ieee488:
That set of instructions is using the Interrupt on D2.

You will need to change your SIM900 to use 3 and 4.

Thanks for reply but doesn't sim900 need to use tx an rx pin from arduino?
I'm using arduino UNO

Hello im new in adding I wanna ask some examples to calculate current liquid flowing withou using pin 2 because I need pin 2 to my GSM shield sim900 and I can't switch GSM shield pin because it needs to intact in pin 2 and 3 to send sums
Any solutions? Thanks

I wanna ask some examples to calculate current liquid flowing withou using pin 2

Why do you think that you have to use pin 2 in the first place ?
What sensor are you planning to use ?

@Daniel2808, do not cross-post. Threads merged.

UKHeliBob:
Why do you think that you have to use pin 2 in the first place ?
What sensor are you planning to use ?

I follow the code in the link that I mention before and I changed it to pin 10 but my code don't work and I can't figure it out why
I'm using water flow sensor G1 and I'm using GSM shield 900 version 2
If my sim900 didn't connect on pin 2 and 3 it will force the baud rate and don't send any sms and tell me to check the GSM.cpp files
Thanks before