瀏覽代碼

Clarify the backlight_level API doc slightly (#6733)

* Clarify the backlight_level API doc slightly

* review
xster 5 年之前
父節點
當前提交
3b4b54f6ed
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/feature_backlight.md

+ 2 - 1
docs/feature_backlight.md

@@ -119,7 +119,8 @@ The breathing effect is the same as in the hardware PWM implementation.
 |`backlight_step()`      |Cycle through backlight levels               |
 |`backlight_increase()`  |Increase the backlight level                 |
 |`backlight_decrease()`  |Decrease the backlight level                 |
-|`backlight_level(x)`    |Sets the backlight level to specified level  |
+|`backlight_level(x)`    |Sets the backlight level, from 0 to          |
+|                        |`BACKLIGHT_LEVELS`                           |
 |`get_backlight_level()` |Return the current backlight level           |
 |`is_backlight_enabled()`|Return whether the backlight is currently on |