  *                                       PROGRAMA                                        *
  * ***************************************************************************************/
 
-void printButton(char* buttonName, int buttonId) {
-  Serial.print(buttonName),Serial.print(" = "),Serial.print(digitalRead(buttonId)),Serial.print("\t");
-}
-
-void printJoystick(int xAxisId, int yAxisId) {
-  Serial.print("X = "),Serial.print(map(analogRead(xAxisId), 0, 1023, -1, 1));Serial.print("\t");
-  Serial.print("Y = "),Serial.print(map(analogRead(yAxisId), 0, 1023, -1, 1));Serial.print("\n");
-}
-
 void update_servo(int axis_id, Servo* servo) {
   int val = analogRead(axis_id);
   val = map(val, 0, 1023, -100, 100);

 *                                         SETUP                                         *
 * ***************************************************************************************/
void init_buttons() {
  for (int i = 0; i < buttons_quantity; i++) {
   pinMode(buttons[i], INPUT_PULLUP);
  }
}

}

void update_servos_pair() {
  update_servo(X_AXIS, &servo_base);
}

void loop() {
  update_servos_pair();
  delay(150);
}
