You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Berry_Addressable-LED.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -153,9 +153,9 @@ set_bri|`set_bri(bri:0..100) -> nil` sets the brightness for the color, defaults
153
153
Palette|Description
154
154
:---|:---
155
155
`animate.PALETTE_RAINBOW_WHITE`|Cycle through 8 colors (including white) and keep colors steady<br><divstyle='width:100%;height:30px;background:linear-gradient(toright,#FF00000.0%,#FF00008.9%,#FFA50014.3%,#FFA50023.2%,#FFFF0028.6%,#FFFF0037.5%,#00FF0042.9%,#00FF0051.8%,#0000FF57.1%,#0000FF66.1%,#FF00FF71.4%,#FF00FF80.4%,#FFFFFF85.7%,#FFFFFF94.6%,#FF0000100.0%);'></div>
156
-
`animate.PALETTE_STANDARD_TAG`|Standard palette cycling through 7 colors<br><divstyle='width:100%;height:30px;background:linear-gradient(toright,#FF00000.0%,#FFA50016.7%,#FFFF0033.3%,#00FF0050.0%,#0000FF66.7%,#FF00FF83.3%,#FF0000100.0%);'></div>
157
-
`animate.PALETTE_STANDARD_VAL`|Same palette described as values<br><divstyle='width:100%;height:30px;background:linear-gradient(toright,#FF00000.0%,#FFA50014.1%,#FFFF0028.6%,#00FF0043.1%,#0000FF57.3%,#FF00FF71.8%,#FF0000100.0%);'></div>
158
-
`animate.PALETTE_SATURATED_TAG`|Cycle through 7 saturated colors<br><divstyle='width:100%;height:30px;background:linear-gradient(toright,#FF00000.0%,#FFA50016.7%,#FFFF0033.3%,#00FF0050.0%,#0000FF66.7%,#FF00FF83.3%,#FF0000100.0%);'></div>
156
+
`animate.PALETTE_STANDARD_TAG`|Standard palette cycling through 7 colors<br><divstyle='width:100%;height:30px;background:linear-gradient(toright,#FF00000.0%,#FFA50014.3%,#FFFF0028.6%,#00FF0042.9%,#0000FF57.1%,#FF00FF71.4%,#EE44A585.7%,#FF0000100.0%);'></div>
157
+
`animate.PALETTE_STANDARD_VAL`|Cycle through 6 colors as values<br><divstyle='width:100%;height:30px;background:linear-gradient(toright,#FF00000.0%,#FFA50016.5%,#FFFF0033.3%,#00FF0049.8%,#0000FF66.7%,#FF00FF83.1%,#FF0000100.0%);'></div>
158
+
`animate.PALETTE_SATURATED_TAG`|Cycle through 6 saturated colors<br><divstyle='width:100%;height:30px;background:linear-gradient(toright,#FF00000.0%,#FFA50016.7%,#FFFF0033.3%,#00FF0050.0%,#0000FF66.7%,#FF00FF83.3%,#FF0000100.0%);'></div>
159
159
160
160
Palettes can be specified as a `bytes()` object of via `comptr` if they are solidified in Flash.
161
161
@@ -172,7 +172,7 @@ This format makes it easier to adjust the transition time between colors
172
172
Example:
173
173
174
174
```berry
175
-
var PALETTE_SATURATED_TAG = bytes(
175
+
var PALETTE_TAG = bytes(
176
176
"40" "FF0000" # red
177
177
"40" "FFA500" # orange
178
178
"40" "FFFF00" # yellow
@@ -196,7 +196,7 @@ This format is useful to use palettes that represent a color range.
0 commit comments