Examples no longer use 800Kbps (#679)

Ws2812x instead
This commit is contained in:
Michael Miller
2023-04-06 10:19:28 -07:00
committed by GitHub
parent a6713e724f
commit d25e447da9
18 changed files with 34 additions and 34 deletions
@@ -15,9 +15,9 @@
const uint16_t PixelCount = 16; // make sure to set this to the number of pixels in your strip
const uint8_t PixelPin = 2; // make sure to set this to the correct pin, ignored for Esp8266
NeoPixelBus<NeoGrbFeature, Neo800KbpsMethod> strip(PixelCount, PixelPin);
NeoPixelBus<NeoGrbFeature, NeoWs2812xMethod> strip(PixelCount, PixelPin);
// for esp8266 omit the pin
//NeoPixelBus<NeoGrbFeature, Neo800KbpsMethod> strip(PixelCount);
//NeoPixelBus<NeoGrbFeature, NeoWs2812xMethod> strip(PixelCount);
// uncomment only one of these to compare memory use or speed
//
@@ -17,7 +17,7 @@ const uint16_t PixelCount = 16; // make sure to set this to the number of pixels
const uint8_t PixelPin = 2; // make sure to set this to the correct pin, ignored for Esp8266
// for esp8266 the pin is ignored unless it is the bitbang method
NeoPixelBus<NeoGrbFeature, Neo800KbpsMethod> strip(PixelCount, PixelPin);
NeoPixelBus<NeoGrbFeature, NeoWs2812xMethod> strip(PixelCount, PixelPin);
NeoGamma<NeoGammaDynamicTableMethod> colorGamma;