   buttonState=digitalRead(buttonPin);
   buttonState1=digitalRead(buttonPin1);
   sensorValue=analogRead(potPin);
-
+  
   //read UART COM
   if(Serial.available()>0){
     Serial.readBytesUntil('/0',buffer,10);  

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

//Variables


//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;  
