Minor fix with list syntax

This commit is contained in:
Marcel Stör 2016-01-12 22:17:07 +01:00
parent bd7a986d73
commit d0da51f5a7
1 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,8 @@ Initializes the device on pins sdapin & sclpin. Optionally also configures the d
* `tsl2561.PACKAGE_T_FN_CL` (default when omitted) * `tsl2561.PACKAGE_T_FN_CL` (default when omitted)
#### Returns #### Returns
`status` value indicating success or failure as explained below `status` value indicating success or failure as explained below:
- `tsl2561.TSL2561_OK` - `tsl2561.TSL2561_OK`
- `tsl2561.TSL2561_ERROR_I2CINIT` can't initialize I2C bus - `tsl2561.TSL2561_ERROR_I2CINIT` can't initialize I2C bus
- `tsl2561.TSL2561_ERROR_I2CBUSY` I2C bus busy - `tsl2561.TSL2561_ERROR_I2CBUSY` I2C bus busy
@ -110,6 +111,7 @@ Sets the integration time and gain settings of the device. When `tls2561.init()`
#### Returns #### Returns
`status` value indicating success or failure as explained below: `status` value indicating success or failure as explained below:
- `tsl2561.TSL2561_OK` - `tsl2561.TSL2561_OK`
- `tsl2561.TSL2561_ERROR_I2CINIT` can't initialize I2C bus - `tsl2561.TSL2561_ERROR_I2CINIT` can't initialize I2C bus
- `tsl2561.TSL2561_ERROR_I2CBUSY` I2C bus busy - `tsl2561.TSL2561_ERROR_I2CBUSY` I2C bus busy