Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AEFeinstein committed Sep 23, 2023
1 parent ace3707 commit d3d5d09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/hdw-led/include/hdw-led.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
* Brightness is adjusted per-color-channel, so dimming may produce different colors.
* setLedBrightnessSetting() should be called instead if the brightness change should be persistent through reboots.
*
* Even though \c CONFIG_NUM_LEDS declares eight LEDs, there is a ninth LED which is controllable. By default, setting
* \c CONFIG_NUM_LEDS LEDs will automatically set the ninth to the average of the sixth, seventh, and eighth, which
* surround it on the PCB. To set the ninth LED, set `CONFIG_NUM_LEDS + 1` LEDs.
*
* \section led_example Example
*
* Set the LEDs to a rough rainbow:
Expand Down

0 comments on commit d3d5d09

Please sign in to comment.