Skip to content

Commit

Permalink
docs(led_strip): add api reference
Browse files Browse the repository at this point in the history
  • Loading branch information
suda-morris committed Oct 31, 2023
1 parent 901f133 commit 3afd573
Show file tree
Hide file tree
Showing 5 changed files with 461 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ sdkconfig.old
dependencies.lock
**/managed_components/**
.vscode/
doxygen/
4 changes: 2 additions & 2 deletions led_strip/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## 2.5.0

- Enabled support for IDF4.4 and above
- only with RMT backend
- with RMT backend only
- Added API `led_strip_set_pixel_hsv`

## 2.4.0

- Support configurable SPI mode to control leds
- recommend enabling DMA when using SPI mode

## 2.3.0

- Support configurable RMT channel size by setting `mem_block_symbols`
Expand Down
3 changes: 3 additions & 0 deletions led_strip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,7 @@ The number of LED strip objects can be created depends on how many free SPI buse
F --> |No| H[RMT backend] --> D
```
* How to set the brightness of the LED strip?
* You can tune the brightness by scaling the value of each R-G-B element with a **same** factor. But pay attention to the overflow of the value.
[^1]: The RMT DMA feature is not available on all ESP chips. Please check the data sheet before using it.
Loading

0 comments on commit 3afd573

Please sign in to comment.