GSM not connected when using and initializing variables

I have been working with Arduino GSM shield 2. “Receive SMS” example program is working. Does anyone knows why my program is not working?
I’m just creating variables and initializing and memory usage is just 41%. But it is not connecting.

PruebasBorrar.ino (2.44 KB)


const int peque = 2;

The Arduino GSM Shield 2 ...
The shield uses digital pins 2 and 3 for software serial communication with the M10. Pin 2 is connected to the M10’s TX pin and pin 3 to its RX pin. See these notes for working with an Arduino Mega, Mega ADK, or Leonardo. The modem's PWRKEY pin is connected to Arduino pin 7.

OK thanks. Problem solved! :smiley: