Skip to content

Commit 199bdce

Browse files
authored
Adjust formatting
1 parent 94ee896 commit 199bdce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/Berry_Addressable-LED.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ Palettes can be specified as a `bytes()` object of via `comptr` if they are soli
161161

162162
Palettes can follow to different formats:
163163

164-
**1. Palette in time units**
164+
**1. Palette in time units**
165+
165166
Bytes: `<transition_time>|<RR><GG><BB>` (4 bytes per entry)
166167

167168
Each entry specifies the time in units to go from the current value to the next value. The last entry must have a `<transition_time>` of `0x00`. The unit is abstract, and only ratio between value are meaningful - the actual duration is derived from `duration_ms` where all indivudal `<transition_time>` are stretched to cover the desired duration.
@@ -185,6 +186,7 @@ var PALETTE_SATURATED_TAG = bytes(
185186

186187

187188
**2. Palette in values**
189+
188190
Bytes: `<value>|<RR><GG><BB>` (4 bytes per entry)
189191

190192
Each entry indicates what is the target color for a specific value. Values go from `0x00` to `0xFF` (0..255). The first entry must start with `0x00` and the last must use value `0xFF`.

0 commit comments

Comments
 (0)