* Completed the translation.

Completed the translation.
This commit is contained in:
vowstar 2014-12-09 13:10:26 +08:00
parent 5e805bba83
commit f6591008e2
1 changed files with 3 additions and 3 deletions

View File

@ -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 />
####Returns
t1: 数值温度的整数部分。如果读取失败返回nil.<br />
t2: 数值温度的小数部分。如果读取失败返回nil.<br />
t1: integer. The integer part of the temperature. If it read fails, return nil. <br />
t2: integer. The fractional part of the temperature. If it read fails, return nil. <br />
####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. <br />
####Returns
t: 字符串,表示成字符串形式的温度。如果读取失败返回nil.<br />
t: string. The string of the temperature. If it read fails, return nil.<br />
####Example
```lua