Interface AnalogPort

    • Method Detail

      • getPin6

        float getPin6()
        return the voltage present on pin 6 of the sensor port
        Returns:
        voltage reading
      • getPin1

        float getPin1()
        return the voltage present on pin 1 of the sensor port
        Returns:
        voltage reading
      • getFloats

        void getFloats​(float[] vals,
                       int offset,
                       int length)
        Return a series of results obtained from the sensor. This is currently only used for the NXT color sensor
        Parameters:
        vals - Place to store the values
        offset - Offset into the above array to start storing
        length - number of values to read