diff --git a/modules/ds18b20.EN.md b/modules/ds18b20.EN.md index 963c2b97..a1b72ca5 100644 --- a/modules/ds18b20.EN.md +++ b/modules/ds18b20.EN.md @@ -70,8 +70,8 @@ addr: string, the address of DS18B20. It will select the first address which be unit: integer, unit conversion. Only Constant is acceptable, such as C(Celsius),F(Fahrenheit) and K(Kelvin). If this parameter is nil, the constant C(Celsius) will be selected automatically.
####Returns -t1: 数值,温度的整数部分。如果读取失败返回nil.
-t2: 数值,温度的小数部分。如果读取失败返回nil.
+t1: integer. The integer part of the temperature. If it read fails, return nil.
+t2: integer. The fractional part of the temperature. If it read fails, return nil.
####Example ```lua @@ -111,7 +111,7 @@ addr: string, the address of DS18B20. It will select the first address which be unit: integer, unit conversion. Only Constant is acceptable, such as C(Celsius),F(Fahrenheit) and K(Kelvin). If this parameter is nil, the constant C(Celsius) will be selected automatically.
####Returns -t: 字符串,表示成字符串形式的温度。如果读取失败返回nil.
+t: string. The string of the temperature. If it read fails, return nil.
####Example ```lua