Arduino Mega 2560 With GSM shield

Hello everyone,

I am doing a project based on Internet Of Things, I am using arduino mega 2560 with a GSM shield. I am getting digital data from a reed switch using two xbee’s however I want to log this data using the GSM shield to connect to the internet. I initially wanted to use Xively however it doesn’t allow me to create a free account so I am going to be using Exosite. Has anyone done this before and has some coding for it or can anyone guide me to the right path to get this done?

Any help would be greatt!!!

Thank you in advance

This is my coding so far!

#include <LiquidCrystal.h>

LiquidCrystal lcd(12,11,5,4,3,6);
int readValue = 0;
int x;
void setup() {
// put your setup code here, to run once:
lcd.begin(16, 2);

void loop() {
// put your main code here, to run repeatedly:
if(Serial.available() > 13){
for(int i=0; i<14; i++) {
if (i == 12)
{ if (x == 0)

{ lcd.clear(); lcd.setCursor(0,0); Serial.println(“Box Open”); lcd.print("Box Open ");}

else {lcd.clear();lcd.setCursor(0,0); Serial.println(“Box Closed”); lcd.print(“Box Closed”); } }