kopia lustrzana https://github.com/Aircoookie/WLED
Updated HTTP request API (markdown)
rodzic
70649e0c9d
commit
21eacc89d8
|
@ -125,3 +125,13 @@ Parameter | Value Range | Description
|
|||
\<ds> | String 0..32 | Server description
|
||||
\<th> | Hex Colors | Current theme (&IT call required)
|
||||
|
||||
## In-/decrementing values
|
||||
|
||||
You can use the `~` character to easily set values relative to their current value.
|
||||
This is currently supported for the following parameters:
|
||||
`A, R, G, B, W, R2, G2, B2, W2, FX, SX, IX, FP, PL`
|
||||
For example, use `PL=~` to go to the next preset. Using just `~` without a number will increase the value by 1, `~-` will decrease it by 1. The value will then wrap around, so using `A=~-` when A is - will set A to 255.
|
||||
You can also specify by how much to change the value. For example, using `A=~10` will increase the brightness by 10. In case of using a number behind `~`, the value will clip (so it will not wrap around, if the maximum brightness is set, `A=~10` will not have any effect)
|
||||
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue