Skip to content

Commit

Permalink
Merge pull request #265 from suda-morris/docs/rmt_api_reference
Browse files Browse the repository at this point in the history
docs(led_strip): add api reference
  • Loading branch information
suda-morris authored Oct 31, 2023
2 parents 2f34308 + 3afd573 commit 0463f1c
Show file tree
Hide file tree
Showing 9 changed files with 531 additions and 47 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 0463f1c

Please sign in to comment.