Updated NeoPixelBusLg object (markdown)

Michael Miller
2023-04-02 07:28:39 -07:00
parent 664b97ac2c
commit dc21cc6ed9

@@ -15,7 +15,7 @@ Just like the normal NeoPixelObject, it must be constructed with a ["Feature"](h
``` ```
NeoPixelBusLg<NeoGrbFeature, NeoWs2812xMethod> strip(pixelCount, pixelPin); NeoPixelBusLg<NeoGrbFeature, NeoWs2812xMethod> strip(pixelCount, pixelPin);
``` ```
A new optional template specialization "T_GAMMA" has been added to control how gamma correction is done. The default if not specified is a slower but more accurate equation method. This can easily be changed by providing one of the many alternatives, in this example below the faster table lookup method. A new optional template specialization "T_GAMMA" has been added to control how gamma correction is done. The default if not specified is a slower but more accurate equation method. This can easily be changed by providing one of the many alternatives, in this example below the faster table lookup method is defined.
``` ```
NeoPixelBusLg<NeoRgbFeature, NeoWs2812xMethod, NeoGammaTableMethod> strip(PixelCount, PixelPin); NeoPixelBusLg<NeoRgbFeature, NeoWs2812xMethod, NeoGammaTableMethod> strip(PixelCount, PixelPin);