From d0da51f5a739c219ff1fcdd185bef74430614147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Tue, 12 Jan 2016 22:17:07 +0100 Subject: [PATCH] Minor fix with list syntax --- docs/en/modules/tsl2561.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/en/modules/tsl2561.md b/docs/en/modules/tsl2561.md index 2dfbe07e..15ab9d6e 100644 --- a/docs/en/modules/tsl2561.md +++ b/docs/en/modules/tsl2561.md @@ -77,7 +77,8 @@ Initializes the device on pins sdapin & sclpin. Optionally also configures the d * `tsl2561.PACKAGE_T_FN_CL` (default when omitted) #### Returns -`status` value indicating success or failure as explained below +`status` value indicating success or failure as explained below: + - `tsl2561.TSL2561_OK` - `tsl2561.TSL2561_ERROR_I2CINIT` can't initialize I2C bus - `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 `status` value indicating success or failure as explained below: + - `tsl2561.TSL2561_OK` - `tsl2561.TSL2561_ERROR_I2CINIT` can't initialize I2C bus - `tsl2561.TSL2561_ERROR_I2CBUSY` I2C bus busy @@ -126,4 +128,4 @@ if status == tsl2561.TSL2561_OK then lux = tsl2561.getlux() print("Illuminance: "..lux.." lx") end -``` +``` \ No newline at end of file