 const int buttonPin=2;     //Digital Pin 2. 
 const int buttonPin1=3;    //Digital Pin 3. 
 const int ledPin=4;        //Digital Pin 4.
+const int ledPin1=13;      //Digital Pin 13.
 const int potPin=A0;       //Analog Pin 0.
 
 //Variables

    Serial.print("error: ");
    Serial.println(errorbuffer);
    clean_buffer(); 
  }

  if(buttonState==HIGH){
    strcpy(errorbuffer,"error-1");
  }

  if(buttonState1==HIGH)
    clean_errorbuffer();
}



//clear error buiffer
void clean_errorbuffer(){
  memset(errorbuffer,0,sizeof(errorbuffer));
}

//initialization of PinMode
int init_pinMode(){
  pinMode(buttonPin,INPUT);
  pinMode(buttonPin1,INPUT);
  pinMode(ledPin,OUTPUT);
  pinMode(ledPin,OUTPUT);

  return 0;  
