unsing different port of communication...

Hi,

I'm novice with arduino and i'm starting a project using an arduino ethernet, a GSM shield ans a RTC shield.
GSM shield is using a soft serial port (digital pin 2 and 3 + 7 as reset)
RTC shield is using i2c protocol on pin A4 and A5.
How can I use all those port in the same program?

I mean serial.begin is starting the hard serial port. How are the soft serial port and the i2c port opened? Is this automatically done in the GSMlib and the RTClib?

Thanks for your help!

SoftwareSerial library documentation is the place to go for software serial,
I2C is the Wire library

Read the docs for GSMlib and RTClib - they probably make things easy for you, in particular
they will have examples.

thanks for those 2 links... They were very helpful!
I'll continue to read simple example using those communication protocol to understand how they work!
Have a nice day!