 
 void setup(){
   
+  //create the sensors
+  setupSensors();
+  //create the servos object
+  setupServos();  
+  
   #ifdef DEBUGNODE
   Serial.begin(115200);
   delay(100);

      break;
    }    
  }
}

void moveServoToLastPosition(byte idx){

  if (digitalRead(PUSH_BUTTON)==LOW){
    cbus.dumpMemory();
  }

  if (detachservos_time > 0 && detachservos_time < millis()){
      detachServos();
      detachservos_time = 0;
  }

}

//user defined function. contains the module logic.called every time run() is called.
