[résolu]carte gsm+ test

int led = 13;
int onModulePin = 2;        // the pin to switch on the module (without press on button) 

int timesToSend = 1;        // Numbers of SMS to send
int count = 0;

void switchModule(){
  digitalWrite(onModulePin,HIGH);
  delay(2000);
  digitalWrite(onModulePin,LOW);
}


void setup(){

  pinMode(led, OUTPUT);
  pinMode(onModulePin, OUTPUT);

  Serial.begin(19200);               // the GPRS baud rate
    
  switchModule();                    // swith the module ON
  
  for (int i=0;i<2;i++){
    delay(5000);                        
  } 
  
   Serial.println("AT+CMGF=1");         // set the SMS mode to text 
}

void loop(){
  
  while (count < timesToSend){
    delay(1500);
    Serial.print("AT+CMGS=");               // send the SMS the number
    Serial.write(0x34);  //ou Serial.print('"');                 // send the " char 
    Serial.print("*********");              // send the number change ********* by the actual number
    Serial.write(0x34); //ou Serial.print('"');               // send the " char
    delay(1500); 
    Serial.print("Hola caracola...");     // the SMS body
    delay(500);
    Serial.write(0x1A);                // end of message command 1A (hex)
       
    delay(5000);        

    count++;    
  }

  if (count == timesToSend){
    Serial.println("AT*PSCPOF");             // switch the module off
    count++;
  }
}

voila monsieur ^^

Skizo !