nxtlib/src/Sensors/UltrasonicSensor.cs
/// <summary>
/// <para>Returns the measurement units if the sensor, e.g. "10E-2m".</para>
/// </summary>
Returns the measurement units if the sensor, e.g.
Returns the measurement units if the sensor e . g .
public string ReadMeasurementUnits()
        {
            byte[] request = new byte[] { deviceAddress, 0x14 };
            byte[] reply = SendN(request, 7);
            return Encoding.ASCII.GetString(reply, 0, reply.Length).TrimEnd('\0');
        }
public string ReadMeasurementUnits ( ) { byte [ ] request = new byte [ ] { deviceAddress , 0x14 } ; byte [ ] reply = SendN ( request , 7 ) ; return Encoding . ASCII . GetString ( reply , 0 , reply . Length ) . TrimEnd ( ' \0 ' ) ; }
Returns the measurement units if the sensor, e.g.
Returns the measurement units if the sensor e . g .