diff --git a/examples/NeoPixelTest/NeoPixelTest.ino b/examples/NeoPixelTest/NeoPixelTest.ino index a0f0601..dd63558 100644 --- a/examples/NeoPixelTest/NeoPixelTest.ino +++ b/examples/NeoPixelTest/NeoPixelTest.ino @@ -19,7 +19,7 @@ const uint8_t PixelPin = 2; // make sure to set this to the correct pin, ignore #define colorSaturation 128 // three element pixels, in different order and speeds -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); //NeoPixelBus strip(PixelCount, PixelPin); // For Esp8266, the Pin is omitted and it uses GPIO3 due to DMA hardware use. @@ -32,22 +32,22 @@ NeoPixelBus strip(PixelCount, PixelPin); // // These two are the same as above as the DMA method is the default. // NOTE: These will ignore the PIN and use GPI03 pin. -//NeoPixelBus strip(PixelCount, PixelPin); +//NeoPixelBus strip(PixelCount, PixelPin); //NeoPixelBus strip(PixelCount, PixelPin); // Uart method is good for the Esp-01 or other pin restricted modules. // for details see wiki linked here https://github.com/Makuna/NeoPixelBus/wiki/ESP8266-NeoMethods. // NOTE: These will ignore the PIN and use GPI02 pin. -//NeoPixelBus strip(PixelCount, PixelPin); +//NeoPixelBus strip(PixelCount, PixelPin); //NeoPixelBus strip(PixelCount, PixelPin); // The bitbang method is really only good if you are not using WiFi features of the ESP. // It works with all but pin 16. -//NeoPixelBus strip(PixelCount, PixelPin); +//NeoPixelBus strip(PixelCount, PixelPin); //NeoPixelBus strip(PixelCount, PixelPin); // four element pixels, RGBW -//NeoPixelBus strip(PixelCount, PixelPin); +//NeoPixelBus strip(PixelCount, PixelPin); RgbColor red(colorSaturation, 0, 0); RgbColor green(0, colorSaturation, 0); diff --git a/examples/animations/NeoPixelAnimation/NeoPixelAnimation.ino b/examples/animations/NeoPixelAnimation/NeoPixelAnimation.ino index fc3a372..04c24b2 100644 --- a/examples/animations/NeoPixelAnimation/NeoPixelAnimation.ino +++ b/examples/animations/NeoPixelAnimation/NeoPixelAnimation.ino @@ -25,7 +25,7 @@ const uint16_t PixelCount = 4; // 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 strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // For Esp8266, the Pin is omitted and it uses GPIO3 due to DMA hardware use. // There are other Esp8266 alternative methods that provide more pin options, but also have // other side effects. diff --git a/examples/animations/NeoPixelCylon/NeoPixelCylon.ino b/examples/animations/NeoPixelCylon/NeoPixelCylon.ino index 4eec443..15b36d0 100644 --- a/examples/animations/NeoPixelCylon/NeoPixelCylon.ino +++ b/examples/animations/NeoPixelCylon/NeoPixelCylon.ino @@ -14,9 +14,9 @@ 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 const RgbColor CylonEyeColor(HtmlColor(0x7f0000)); -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // for esp8266 omit the pin -//NeoPixelBus strip(PixelCount); +//NeoPixelBus strip(PixelCount); NeoPixelAnimator animations(2); // only ever need 2 animations diff --git a/examples/animations/NeoPixelFunFadeInOut/NeoPixelFunFadeInOut.ino b/examples/animations/NeoPixelFunFadeInOut/NeoPixelFunFadeInOut.ino index f6c065c..ac18de5 100644 --- a/examples/animations/NeoPixelFunFadeInOut/NeoPixelFunFadeInOut.ino +++ b/examples/animations/NeoPixelFunFadeInOut/NeoPixelFunFadeInOut.ino @@ -12,7 +12,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 const uint8_t AnimationChannels = 1; // we only need one as all the pixels are animated at once -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // For Esp8266, the Pin is omitted and it uses GPIO3 due to DMA hardware use. // There are other Esp8266 alternative methods that provide more pin options, but also have // other side effects. diff --git a/examples/animations/NeoPixelFunLoop/NeoPixelFunLoop.ino b/examples/animations/NeoPixelFunLoop/NeoPixelFunLoop.ino index c8a7788..30a0e20 100644 --- a/examples/animations/NeoPixelFunLoop/NeoPixelFunLoop.ino +++ b/examples/animations/NeoPixelFunLoop/NeoPixelFunLoop.ino @@ -25,7 +25,7 @@ const uint16_t NextPixelMoveDuration = 1000 / PixelCount; // how fast we move th NeoGamma colorGamma; // for any fade animations, best to correct gamma -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // For Esp8266, the Pin is omitted and it uses GPIO3 due to DMA hardware use. // There are other Esp8266 alternative methods that provide more pin options, but also have // other side effects. diff --git a/examples/animations/NeoPixelFunRandomChange/NeoPixelFunRandomChange.ino b/examples/animations/NeoPixelFunRandomChange/NeoPixelFunRandomChange.ino index 8e88667..89e8347 100644 --- a/examples/animations/NeoPixelFunRandomChange/NeoPixelFunRandomChange.ino +++ b/examples/animations/NeoPixelFunRandomChange/NeoPixelFunRandomChange.ino @@ -10,7 +10,7 @@ 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 strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // For Esp8266, the Pin is omitted and it uses GPIO3 due to DMA hardware use. // There are other Esp8266 alternative methods that provide more pin options, but also have // other side effects. diff --git a/examples/animations/NeoPixelRotateLoop/NeoPixelRotateLoop.ino b/examples/animations/NeoPixelRotateLoop/NeoPixelRotateLoop.ino index bdc9af7..b796091 100644 --- a/examples/animations/NeoPixelRotateLoop/NeoPixelRotateLoop.ino +++ b/examples/animations/NeoPixelRotateLoop/NeoPixelRotateLoop.ino @@ -18,9 +18,9 @@ const float MaxLightness = 0.4f; // max lightness at the head of the tail (0.5f NeoGamma colorGamma; // for any fade animations, best to correct gamma -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // for esp8266 omit the pin -//NeoPixelBus strip(PixelCount); +//NeoPixelBus strip(PixelCount); NeoPixelAnimator animations(AnimCount); // NeoPixel animation management object diff --git a/examples/bitmaps/NeoPixelBitmap/NeoPixelBitmap.ino b/examples/bitmaps/NeoPixelBitmap/NeoPixelBitmap.ino index 56071b2..34111e8 100644 --- a/examples/bitmaps/NeoPixelBitmap/NeoPixelBitmap.ino +++ b/examples/bitmaps/NeoPixelBitmap/NeoPixelBitmap.ino @@ -23,9 +23,9 @@ const uint16_t PixelCount = 144; // the sample images are meant for 144 pixels const uint16_t PixelPin = 2; const uint16_t AnimCount = 1; // we only need one -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // for esp8266 omit the pin -//NeoPixelBus strip(PixelCount); +//NeoPixelBus strip(PixelCount); NeoPixelAnimator animations(AnimCount); // NeoPixel animation management object // our NeoBitmapFile will use the same color feature as NeoPixelBus and diff --git a/examples/bitmaps/NeoPixelBufferCylon/NeoPixelBufferCylon.ino b/examples/bitmaps/NeoPixelBufferCylon/NeoPixelBufferCylon.ino index 34b97f2..1ba8664 100644 --- a/examples/bitmaps/NeoPixelBufferCylon/NeoPixelBufferCylon.ino +++ b/examples/bitmaps/NeoPixelBufferCylon/NeoPixelBufferCylon.ino @@ -22,9 +22,9 @@ const uint16_t PixelCount = 16; // the sample images are meant for 16 pixels const uint16_t PixelPin = 2; const uint16_t AnimCount = 1; // we only need one -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // for esp8266 omit the pin -//NeoPixelBus strip(PixelCount); +//NeoPixelBus strip(PixelCount); NeoPixelAnimator animations(AnimCount); // NeoPixel animation management object // sprite sheet stored in progmem using the same pixel feature as the NeoPixelBus diff --git a/examples/bitmaps/NeoPixelBufferShader/NeoPixelBufferShader.ino b/examples/bitmaps/NeoPixelBufferShader/NeoPixelBufferShader.ino index b778822..a435167 100644 --- a/examples/bitmaps/NeoPixelBufferShader/NeoPixelBufferShader.ino +++ b/examples/bitmaps/NeoPixelBufferShader/NeoPixelBufferShader.ino @@ -9,7 +9,7 @@ const uint16_t PixelCount = 64; // set this to the size of your strip const uint8_t PixelPin = 2; // make sure to set this to the correct pin, ignored for Esp8266 // three element GRB pixels, change to your needs -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // the buffer object, // defined to use memory with the same feature as the strip diff --git a/examples/bitmaps/NeoPixelDibTest/NeoPixelDibTest.ino b/examples/bitmaps/NeoPixelDibTest/NeoPixelDibTest.ino index 1a13c13..4988aec 100644 --- a/examples/bitmaps/NeoPixelDibTest/NeoPixelDibTest.ino +++ b/examples/bitmaps/NeoPixelDibTest/NeoPixelDibTest.ino @@ -9,7 +9,7 @@ const uint16_t PixelCount = 64; // set this to the size of your strip const uint8_t PixelPin = 2; // make sure to set this to the correct pin, ignored for Esp8266 // three element GRB pixels, change to your needs -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // the DIB object, using RgbColor and initialized with the same number of pixels as our strip NeoDib image(PixelCount); diff --git a/examples/gamma/NeoPixelGamma/NeoPixelGamma.ino b/examples/gamma/NeoPixelGamma/NeoPixelGamma.ino index 3ed9152..3a221d5 100644 --- a/examples/gamma/NeoPixelGamma/NeoPixelGamma.ino +++ b/examples/gamma/NeoPixelGamma/NeoPixelGamma.ino @@ -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 strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // for esp8266 omit the pin -//NeoPixelBus strip(PixelCount); +//NeoPixelBus strip(PixelCount); // uncomment only one of these to compare memory use or speed // diff --git a/examples/gamma/NeoPixelGammaDynamic/NeoPixelGammaDynamic.ino b/examples/gamma/NeoPixelGammaDynamic/NeoPixelGammaDynamic.ino index 52e0d56..2225b35 100644 --- a/examples/gamma/NeoPixelGammaDynamic/NeoPixelGammaDynamic.ino +++ b/examples/gamma/NeoPixelGammaDynamic/NeoPixelGammaDynamic.ino @@ -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 strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); NeoGamma colorGamma; diff --git a/examples/topologies/NeoPixelMosaicTest/NeoPixelMosaicTest.ino b/examples/topologies/NeoPixelMosaicTest/NeoPixelMosaicTest.ino index 2f6500c..700a1bf 100644 --- a/examples/topologies/NeoPixelMosaicTest/NeoPixelMosaicTest.ino +++ b/examples/topologies/NeoPixelMosaicTest/NeoPixelMosaicTest.ino @@ -35,9 +35,9 @@ NeoMosaic mosaic( TileWidth, TileHeight); -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // for esp8266 omit the pin -//NeoPixelBus strip(PixelCount); +//NeoPixelBus strip(PixelCount); RgbColor red(128, 0, 0); RgbColor green(0, 128, 0); diff --git a/examples/topologies/NeoPixelRingDynamicTopologyTest/NeoPixelRingDynamicTopologyTest.ino b/examples/topologies/NeoPixelRingDynamicTopologyTest/NeoPixelRingDynamicTopologyTest.ino index 57aa6e4..6e4753a 100644 --- a/examples/topologies/NeoPixelRingDynamicTopologyTest/NeoPixelRingDynamicTopologyTest.ino +++ b/examples/topologies/NeoPixelRingDynamicTopologyTest/NeoPixelRingDynamicTopologyTest.ino @@ -63,7 +63,7 @@ NeoRingTopology topo; // declare our strip // -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // define some handy colors // diff --git a/examples/topologies/NeoPixelRingTopologyTest/NeoPixelRingTopologyTest.ino b/examples/topologies/NeoPixelRingTopologyTest/NeoPixelRingTopologyTest.ino index 26d526f..47922a7 100644 --- a/examples/topologies/NeoPixelRingTopologyTest/NeoPixelRingTopologyTest.ino +++ b/examples/topologies/NeoPixelRingTopologyTest/NeoPixelRingTopologyTest.ino @@ -47,7 +47,7 @@ NeoRingTopology topo; // declare our strip // -NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); // define some handy colors // diff --git a/examples/topologies/NeoPixelTilesTest/NeoPixelTilesTest.ino b/examples/topologies/NeoPixelTilesTest/NeoPixelTilesTest.ino index 1dfc645..f86e603 100644 --- a/examples/topologies/NeoPixelTilesTest/NeoPixelTilesTest.ino +++ b/examples/topologies/NeoPixelTilesTest/NeoPixelTilesTest.ino @@ -39,11 +39,11 @@ NeoTiles tiles( TileWidth, TileHeight); -NeoPixelBus strip(PixelCount, PixelPin); -//NeoPixelBus strip(PixelCount, PixelPin); -//NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); +//NeoPixelBus strip(PixelCount, PixelPin); +//NeoPixelBus strip(PixelCount, PixelPin); // for esp8266 omit the pin -//NeoPixelBus strip(PixelCount); +//NeoPixelBus strip(PixelCount); RgbColor red(128, 0, 0); RgbColor green(0, 128, 0); diff --git a/examples/topologies/NeoPixelTopologyTest/NeoPixelTopologyTest.ino b/examples/topologies/NeoPixelTopologyTest/NeoPixelTopologyTest.ino index 2071abb..6ff0628 100644 --- a/examples/topologies/NeoPixelTopologyTest/NeoPixelTopologyTest.ino +++ b/examples/topologies/NeoPixelTopologyTest/NeoPixelTopologyTest.ino @@ -28,11 +28,11 @@ const uint8_t PixelPin = 2; // make sure to set this to the correct pin, ignore NeoTopology topo(PanelWidth, PanelHeight); -NeoPixelBus strip(PixelCount, PixelPin); -//NeoPixelBus strip(PixelCount, PixelPin); -//NeoPixelBus strip(PixelCount, PixelPin); +NeoPixelBus strip(PixelCount, PixelPin); +//NeoPixelBus strip(PixelCount, PixelPin); +//NeoPixelBus strip(PixelCount, PixelPin); // for esp8266 omit the pin -//NeoPixelBus strip(PixelCount); +//NeoPixelBus strip(PixelCount); RgbColor red(128, 0, 0); RgbColor green(0, 128, 0);