public UltrasonicDistanceSensor(int[] pin) { triggerPin = driver.Out(Utilities.getPin(pin[0])); echoPin = driver.In(Utilities.getPin(pin[1])); }