Class PIDUltrasonic

    • Field Detail

      • m_pidSource

        protected PIDSourceType m_pidSource
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Constructor Detail

      • PIDUltrasonic

        public PIDUltrasonic​(int pingChannel,
                             int echoChannel)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • setPIDSourceType

        public void setPIDSourceType​(PIDSourceType pidSource)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: PIDSource
        Set which parameter of the device you are using as a process control variable.
        Specified by:
        setPIDSourceType in interface PIDSource
        Parameters:
        pidSource - An enum to select the parameter.
      • getPIDSourceType

        public PIDSourceType getPIDSourceType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: PIDSource
        Get which parameter of the device you are using as a process control variable.
        Specified by:
        getPIDSourceType in interface PIDSource
        Returns:
        the currently selected PID source parameter
      • pidGet

        public double pidGet()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Get the range in the inches for the PIDSource base object.
        Specified by:
        pidGet in interface PIDSource
        Returns:
        The range in inches