+Pixels<a class="cmnd" id="pixels"></a>|`1..512` = set the number of pixels in strip or ring and reset [`Rotation`](#rotation) *(applies only to addressable LEDs)*<br>**ESP32 only** `<pixels>[,<reverse>,<height>,<alternate>]`<br>`pixels` (`1..512`) set the number of pixels in strip or ring (backwards compatible with ESP8266)<br>`<reverse>` (opt, `0..1`) `1`= the leds are in reverse order (not yet implemented)<br>`<height>` (opt, default `1`) number of lines in a leds matrix<br>`<alternate>` (opt, `0..1`) `1`= lines in the matrix are in alternate order (zig-zag)<br>Returns a JSON with current values<br>Ex: `Pixels 256,0,8,1` returns<br>`{"Pixels":256,"PixelsReverse":0,"PixelsHeight":8,"PixelsAlternate":1}`
0 commit comments