Commit f6591008 authored by vowstar's avatar vowstar
Browse files

* Completed the translation.

Completed the translation.
parent 5e805bba
...@@ -70,8 +70,8 @@ addr: string, the address of DS18B20. It will select the first address which be ...@@ -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. <br /> 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. <br />
####Returns ####Returns
t1: 数值,温度的整数部分。如果读取失败返回nil.<br /> t1: integer. The integer part of the temperature. If it read fails, return nil. <br />
t2: 数值,温度的小数部分。如果读取失败返回nil.<br /> t2: integer. The fractional part of the temperature. If it read fails, return nil. <br />
####Example ####Example
```lua ```lua
...@@ -111,7 +111,7 @@ addr: string, the address of DS18B20. It will select the first address which be ...@@ -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. <br /> 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. <br />
####Returns ####Returns
t: 字符串,表示成字符串形式的温度。如果读取失败返回nil.<br /> t: string. The string of the temperature. If it read fails, return nil.<br />
####Example ####Example
```lua ```lua
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment