From 2360904727835afd612d6ce86f217126b1f720ec Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 29 Aug 2024 10:58:48 -0700 Subject: [PATCH] Esp8266 3 step to reduce memory (#830) Esp8266 3 step plus xMethods with examples --- .../NeoPixelParallel/NeoPixelParallel.ino | 88 +++++ src/NeoPixelAnimator.h | 2 +- src/NeoPixelBrightnessBus.h | 2 +- src/NeoPixelBus.h | 4 +- src/NeoPixelBusLg.h | 2 +- src/NeoPixelSegmentBus.h | 2 +- src/internal/NeoBuffers.h | 2 +- src/internal/NeoColorFeatures.h | 2 +- src/internal/NeoColors.h | 2 +- src/internal/NeoMethods.h | 4 +- src/internal/NeoSettings.h | 2 +- src/internal/NeoTopologies.h | 2 +- src/internal/NeoUtil.h | 2 +- src/internal/XMethods.h | 216 +++++++++++ src/internal/animations/NeoEase.h | 2 +- src/internal/animations/NeoPixelAnimator.cpp | 2 +- src/internal/buffers/LayoutMapCallback.h | 2 +- src/internal/buffers/NeoBitmapFile.h | 2 +- src/internal/buffers/NeoBuffer.h | 2 +- src/internal/buffers/NeoBufferContext.h | 2 +- src/internal/buffers/NeoBufferMethods.h | 2 +- src/internal/buffers/NeoBufferProgmemMethod.h | 2 +- src/internal/buffers/NeoDib.h | 2 +- src/internal/buffers/NeoShaderBase.h | 2 +- src/internal/buffers/NeoShaderNop.h | 2 +- src/internal/buffers/NeoVerticalSpriteSheet.h | 2 +- src/internal/colors/HsbColor.cpp | 2 +- src/internal/colors/HsbColor.h | 2 +- src/internal/colors/HslColor.cpp | 2 +- src/internal/colors/HslColor.h | 2 +- src/internal/colors/HtmlColor.cpp | 2 +- src/internal/colors/HtmlColor.h | 2 +- src/internal/colors/HtmlColorNameStrings.cpp | 2 +- src/internal/colors/HtmlColorNameStrings.h | 2 +- src/internal/colors/HtmlColorNames.cpp | 2 +- src/internal/colors/HtmlColorShortNames.cpp | 2 +- src/internal/colors/NeoGamma.h | 2 +- .../colors/NeoGammaCieLabEquationMethod.h | 2 +- .../colors/NeoGammaDynamicTableMethod.cpp | 2 +- .../colors/NeoGammaDynamicTableMethod.h | 2 +- src/internal/colors/NeoGammaEquationMethod.h | 2 +- src/internal/colors/NeoGammaInvertMethod.h | 2 +- src/internal/colors/NeoGammaNullMethod.h | 2 +- src/internal/colors/NeoGammaTableMethod.cpp | 2 +- src/internal/colors/NeoGammaTableMethod.h | 2 +- src/internal/colors/NeoHueBlend.h | 2 +- src/internal/colors/Rgb16Color.h | 2 +- src/internal/colors/Rgb48Color.cpp | 2 +- src/internal/colors/Rgb48Color.h | 2 +- src/internal/colors/RgbColor.cpp | 2 +- src/internal/colors/RgbColor.h | 2 +- src/internal/colors/RgbColorBase.cpp | 2 +- src/internal/colors/RgbColorBase.h | 2 +- src/internal/colors/RgbColorIndexes.h | 2 +- src/internal/colors/Rgbw64Color.cpp | 2 +- src/internal/colors/Rgbw64Color.h | 2 +- src/internal/colors/RgbwColor.cpp | 2 +- src/internal/colors/RgbwColor.h | 2 +- src/internal/colors/Rgbww80Color.cpp | 2 +- src/internal/colors/Rgbww80Color.h | 2 +- src/internal/colors/RgbwwColor.cpp | 2 +- src/internal/colors/RgbwwColor.h | 2 +- src/internal/colors/RgbwwwColor.cpp | 2 +- src/internal/colors/RgbwwwColor.h | 2 +- src/internal/colors/SegmentDigit.cpp | 2 +- src/internal/colors/SegmentDigit.h | 2 +- src/internal/features/DotStarL4ByteFeature.h | 2 +- src/internal/features/DotStarL4WordFeature.h | 2 +- src/internal/features/DotStarLrgbFeatures.h | 2 +- src/internal/features/DotStarRgbFeatures.h | 2 +- src/internal/features/DotStarX4ByteFeature.h | 2 +- src/internal/features/DotStarX4WordFeature.h | 2 +- src/internal/features/Lpd6803RgbFeatures.h | 2 +- src/internal/features/Lpd8806RgbFeatures.h | 2 +- src/internal/features/Neo2Byte555Feature.h | 2 +- src/internal/features/Neo3Byte777Feature.h | 2 +- src/internal/features/Neo3ByteFeature.h | 2 +- src/internal/features/Neo3WordFeature.h | 2 +- src/internal/features/Neo4ByteFeature.h | 2 +- src/internal/features/Neo4WordFeature.h | 2 +- src/internal/features/Neo5ByteFeature.h | 2 +- src/internal/features/Neo5WordFeature.h | 2 +- src/internal/features/Neo6ByteFeature.h | 2 +- src/internal/features/Neo6xByteFeature.h | 2 +- src/internal/features/Neo6xxByteFeature.h | 2 +- .../features/NeoAbcdefgpsSegmentFeature.h | 2 +- .../features/NeoBacedfpgsSegmentFeature.h | 2 +- src/internal/features/NeoByteElements.h | 2 +- src/internal/features/NeoElementsNoSettings.h | 2 +- src/internal/features/NeoRgb48Features.h | 2 +- src/internal/features/NeoRgbFeatures.h | 2 +- src/internal/features/NeoRgbcwxFeatures.h | 2 +- src/internal/features/NeoRgbw64Features.h | 2 +- src/internal/features/NeoRgbwFeatures.h | 2 +- src/internal/features/NeoRgbww80Features.h | 2 +- src/internal/features/NeoRgbwwFeatures.h | 2 +- src/internal/features/NeoRgbwwwFeatures.h | 2 +- src/internal/features/NeoRgbwxxFeatures.h | 2 +- src/internal/features/NeoSm168x3Features.h | 2 +- src/internal/features/NeoSm168x4Features.h | 2 +- src/internal/features/NeoSm168x5Features.h | 2 +- src/internal/features/NeoTm1814Features.h | 2 +- src/internal/features/NeoTm1914Features.h | 2 +- src/internal/features/P9813BgrFeature.h | 2 +- src/internal/features/Tlc59711RgbFeatures.h | 2 +- .../methods/DotStarEsp32DmaSpiMethod.h | 2 +- src/internal/methods/DotStarGenericMethod.h | 2 +- src/internal/methods/FractionClk.c | 2 +- src/internal/methods/Hd108GenericMethod.h | 2 +- src/internal/methods/Lpd6803GenericMethod.h | 2 +- src/internal/methods/Lpd8806GenericMethod.h | 2 +- src/internal/methods/Mbi6033GenericMethod.h | 2 +- src/internal/methods/NeoArmMethod.h | 2 +- src/internal/methods/NeoAvrMethod.h | 2 +- src/internal/methods/NeoBits.h | 29 +- src/internal/methods/NeoEsp32I2sMethod.h | 4 +- src/internal/methods/NeoEsp32I2sXMethod.h | 4 +- src/internal/methods/NeoEsp32LcdXMethod.h | 10 +- src/internal/methods/NeoEsp32RmtMethod.cpp | 2 +- src/internal/methods/NeoEsp32RmtMethod.h | 2 +- src/internal/methods/NeoEsp8266DmaMethod.h | 354 +++++++----------- .../methods/NeoEsp8266I2sDmx512Method.h | 2 +- .../methods/NeoEsp8266I2sMethodCore.cpp | 2 +- .../methods/NeoEsp8266I2sMethodCore.h | 36 +- src/internal/methods/NeoEsp8266UartMethod.cpp | 2 +- src/internal/methods/NeoEsp8266UartMethod.h | 6 +- src/internal/methods/NeoEspBitBangMethod.cpp | 2 +- src/internal/methods/NeoEspBitBangMethod.h | 2 +- src/internal/methods/NeoNrf52xMethod.h | 2 +- src/internal/methods/P9813GenericMethod.h | 2 +- src/internal/methods/PixieStreamMethod.h | 2 +- .../methods/Rp2040/NeoRp2040DmaState.h | 2 +- .../methods/Rp2040/NeoRp2040PioInstance.h | 2 +- .../Rp2040/NeoRp2040PioMonoProgram.cpp | 2 +- .../methods/Rp2040/NeoRp2040PioMonoProgram.h | 2 +- .../methods/Rp2040/NeoRp2040PioSpeed.h | 2 +- .../methods/Rp2040/NeoRp2040x4Method.h | 2 +- src/internal/methods/Sm16716GenericMethod.h | 2 +- src/internal/methods/Tlc5947GenericMethod.h | 2 +- src/internal/methods/Tlc59711GenericMethod.h | 2 +- src/internal/methods/TwoWireBitBangImple.h | 2 +- src/internal/methods/TwoWireBitBangImpleAvr.h | 2 +- src/internal/methods/TwoWireDebugImple.h | 2 +- src/internal/methods/TwoWireHspiImple.h | 2 +- src/internal/methods/TwoWireSpiImple.h | 2 +- src/internal/methods/Ws2801GenericMethod.h | 2 +- .../topologies/ColumnMajorAlternatingLayout.h | 2 +- src/internal/topologies/ColumnMajorLayout.h | 2 +- src/internal/topologies/NeoMosaic.h | 2 +- src/internal/topologies/NeoRingTopology.h | 2 +- src/internal/topologies/NeoTiles.h | 2 +- src/internal/topologies/NeoTopology.h | 2 +- .../topologies/RowMajorAlternatingLayout.h | 2 +- src/internal/topologies/RowMajorLayout.h | 2 +- 154 files changed, 650 insertions(+), 391 deletions(-) create mode 100644 examples/NeoPixelParallel/NeoPixelParallel.ino create mode 100644 src/internal/XMethods.h diff --git a/examples/NeoPixelParallel/NeoPixelParallel.ino b/examples/NeoPixelParallel/NeoPixelParallel.ino new file mode 100644 index 0000000..0994761 --- /dev/null +++ b/examples/NeoPixelParallel/NeoPixelParallel.ino @@ -0,0 +1,88 @@ +// NeoPixelParallel +// This example will demonstrate the use of the X parallel method +// defined NeoPixelBus. +// +// There is serial output of the current state so you can confirm and +// follow along. +// + +#include + +// define the NPB we want, +// using GRB color order, the normal one for a WS2812x LEDs +// x4 parallel channels method for WS2812x LEDs +// not all platforms can support parallel channels +// x8 and x16 maybe available depending on your platform +// +// ESP32 - x4, x8, x16 (x4 aliased to x8) +// ESP32S2 - x4, x8, x16 (x4 aliased to x8) +// ESP32S3 - x4, x8, x16 (x4 aliased to x8) +// RP2040 - x4 only +// +typedef NeoPixelBus NPB; + +// make sure to set these to the correct pins and count for your setup +// while the x4 parallel was used, +// you can use less than all the defined channels +NPB strips[] = { {60, 15}, + {60, 2}, + {90, 4}, + {30, 16} }; + +void setup() +{ + Serial.begin(115200); + while (!Serial); // wait for serial attach + + Serial.println(); + Serial.println("Initializing..."); + Serial.flush(); + + // must call begin for each strip + for (size_t strip = 0; strip < countof(strips); strip++) + { + strips[strip].Begin(); + } + + Serial.println(); + Serial.println("Running..."); +} + + +void loop() +{ + delay(5000); + + // show R,G,B,W in order on all strips + // + Serial.println("Colors R, G, B, W..."); + + for (size_t strip = 0; strip < countof(strips); strip++) + { + strips[strip].SetPixelColor(0, { 255,0,0 }); // red; + strips[strip].SetPixelColor(1, { 0,255,0 }); // green + strips[strip].SetPixelColor(2, { 0,0,255 }); // blue + strips[strip].SetPixelColor(3, { 255,255,255 }); // white + + // only after all the strips show() method is called will + // they actually get updated + strips[strip].Show(); + } + + + delay(5000); + + // clear all strips to black + // + Serial.println("Colors off..."); + + for (size_t strip = 0; strip < countof(strips); strip++) + { + strips[strip].ClearTo( 0 ); // black + + // only after all the strips show() method is called will + // they actually get updated + strips[strip].Show(); + } +} + diff --git a/src/NeoPixelAnimator.h b/src/NeoPixelAnimator.h index b168164..0fe6d61 100644 --- a/src/NeoPixelAnimator.h +++ b/src/NeoPixelAnimator.h @@ -4,7 +4,7 @@ NeoPixelAnimator provides animation timing support. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/NeoPixelBrightnessBus.h b/src/NeoPixelBrightnessBus.h index 2d82b56..b6c942f 100644 --- a/src/NeoPixelBrightnessBus.h +++ b/src/NeoPixelBrightnessBus.h @@ -4,7 +4,7 @@ NeoPixelBus library wrapper template class that provides overall brightness cont Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/NeoPixelBus.h b/src/NeoPixelBus.h index 58d27b9..5e30714 100644 --- a/src/NeoPixelBus.h +++ b/src/NeoPixelBus.h @@ -4,7 +4,7 @@ NeoPixel library Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. @@ -41,7 +41,7 @@ const uint16_t PixelIndex_OutOfBounds = 0xffff; #include "internal/NeoBuffers.h" #include "internal/NeoBusChannel.h" #include "internal/NeoMethods.h" - +#include "internal/XMethods.h" template class NeoPixelBus { diff --git a/src/NeoPixelBusLg.h b/src/NeoPixelBusLg.h index 7544bef..8fa7298 100644 --- a/src/NeoPixelBusLg.h +++ b/src/NeoPixelBusLg.h @@ -4,7 +4,7 @@ NeoPixelBus library wrapper template class that provides luminance and gamma con Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/NeoPixelSegmentBus.h b/src/NeoPixelSegmentBus.h index ebe16ce..6f2f622 100644 --- a/src/NeoPixelSegmentBus.h +++ b/src/NeoPixelSegmentBus.h @@ -5,7 +5,7 @@ for writing to segment based strips Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/NeoBuffers.h b/src/internal/NeoBuffers.h index a3eacc4..0c2baa3 100644 --- a/src/internal/NeoBuffers.h +++ b/src/internal/NeoBuffers.h @@ -4,7 +4,7 @@ NeoBuffers includes all the classes that describe pixel buffers Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/NeoColorFeatures.h b/src/internal/NeoColorFeatures.h index 8d9f13f..5175372 100644 --- a/src/internal/NeoColorFeatures.h +++ b/src/internal/NeoColorFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/NeoColors.h b/src/internal/NeoColors.h index 89941d1..d8d328c 100644 --- a/src/internal/NeoColors.h +++ b/src/internal/NeoColors.h @@ -5,7 +5,7 @@ modify colors for NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/NeoMethods.h b/src/internal/NeoMethods.h index 569b716..cc24130 100644 --- a/src/internal/NeoMethods.h +++ b/src/internal/NeoMethods.h @@ -1,11 +1,11 @@ /*------------------------------------------------------------------------- NeoMethods includes all the classes that describe pulse/data sending methods using -bitbang, SPI, or other platform specific hardware peripherl support. +bitbang, SPI, or other platform specific hardware peripheral support. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/NeoSettings.h b/src/internal/NeoSettings.h index a172aaa..e1a76c8 100644 --- a/src/internal/NeoSettings.h +++ b/src/internal/NeoSettings.h @@ -4,7 +4,7 @@ NeoSettings provides settings classes to describe settings Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/NeoTopologies.h b/src/internal/NeoTopologies.h index ce41f3e..f7991da 100644 --- a/src/internal/NeoTopologies.h +++ b/src/internal/NeoTopologies.h @@ -5,7 +5,7 @@ from 2d spaces to 1d strips that NeoPixelBus uses. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/NeoUtil.h b/src/internal/NeoUtil.h index 4d8c858..d38ef48 100644 --- a/src/internal/NeoUtil.h +++ b/src/internal/NeoUtil.h @@ -4,7 +4,7 @@ NeoPixel library helper functions Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/XMethods.h b/src/internal/XMethods.h new file mode 100644 index 0000000..361a44d --- /dev/null +++ b/src/internal/XMethods.h @@ -0,0 +1,216 @@ +/*------------------------------------------------------------------------- +NeoXMethods defines all the generic abstraction types that describe pulse/data sending methods +for parallel methods + +Written by Michael C. Miller. + +I invest time and resources providing this open source code, +please support me by donating (see https://github.com/Makuna/NeoPixelBus) + +------------------------------------------------------------------------- +This file is part of the Makuna/NeoPixelBus library. + +NeoPixelBus is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as +published by the Free Software Foundation, either version 3 of +the License, or (at your option) any later version. + +NeoPixelBus is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with NeoPixel. If not, see +. +-------------------------------------------------------------------------*/ +#pragma once + + +#if defined(ARDUINO_ARCH_ESP32) && !defined(CONFIG_IDF_TARGET_ESP32C6) && !defined(CONFIG_IDF_TARGET_ESP32H2) +//---------------------------------------------------------- + +#if defined(CONFIG_IDF_TARGET_ESP32S3) +//---------------------------------------------------------- +#define NEO_X4_ALIAS + +typedef NeoEsp32LcdX8Ws2812xMethod X8Ws2812xMethod; +typedef NeoEsp32LcdX8Ws2805Method X8Ws2805Method; +typedef NeoEsp32LcdX8Sk6812Method X8Sk6812Method; +typedef NeoEsp32LcdX8Tm1814Method X8Tm1814Method; +typedef NeoEsp32LcdX8Tm1829Method X8Tm1829Method; +typedef NeoEsp32LcdX8Tm1914Method X8Tm1914Method; +typedef NeoEsp32LcdX8800KbpsMethod X8800KbpsMethod; +typedef NeoEsp32LcdX8400KbpsMethod X8400KbpsMethod; +typedef NeoEsp32LcdX8Apa106Method X8Apa106Method; +typedef NeoEsp32LcdX8Ws2814Method X8Ws2814Method; +typedef NeoEsp32LcdX8Ws2813Method X8Ws2813Method; +typedef NeoEsp32LcdX8Ws2812dMethod X8Ws2812dMethod; +typedef NeoEsp32LcdX8Ws2811Method X8Ws2811Method; +typedef NeoEsp32LcdX8Ws2816Method X8Ws2816Method; +typedef NeoEsp32LcdX8Ws2812Method X8Ws2812Method; +typedef NeoEsp32LcdX8Lc8812Method X8Lc8812Method; + +typedef NeoEsp32LcdX16Ws2812xMethod X16Ws2812xMethod; +typedef NeoEsp32LcdX16Ws2805Method X16Ws2805Method; +typedef NeoEsp32LcdX16Sk6812Method X16Sk6812Method; +typedef NeoEsp32LcdX16Tm1814Method X16Tm1814Method; +typedef NeoEsp32LcdX16Tm1829Method X16Tm1829Method; +typedef NeoEsp32LcdX16Tm1914Method X16Tm1914Method; +typedef NeoEsp32LcdX16800KbpsMethod X16800KbpsMethod; +typedef NeoEsp32LcdX16400KbpsMethod X16400KbpsMethod; +typedef NeoEsp32LcdX16Apa106Method X16Apa106Method; +typedef NeoEsp32LcdX16Ws2814Method X16Ws2814Method; +typedef NeoEsp32LcdX16Ws2813Method X16Ws2813Method; +typedef NeoEsp32LcdX16Ws2812dMethod X16Ws2812dMethod; +typedef NeoEsp32LcdX16Ws2811Method X16Ws2811Method; +typedef NeoEsp32LcdX16Ws2816Method X16Ws2816Method; +typedef NeoEsp32LcdX16Ws2812Method X16Ws2812Method; +typedef NeoEsp32LcdX16Lc8812Method X16Lc8812Method; + +#elif defined(CONFIG_IDF_TARGET_ESP32C3) +//---------------------------------------------------------- +/* RMT doesnt have a X method yet +typedef NeoEsp32Rmtx8Ws2812xMethod X8Ws2812xMethod; +typedef NeoEsp32Rmtx8Ws2805Method X8Ws2805Method; +typedef NeoEsp32Rmtx8Sk6812Method X8Sk6812Method; +typedef NeoEsp32Rmtx8Tm1814Method X8Tm1814Method; +typedef NeoEsp32Rmtx8Tm1829Method X8Tm1829Method; +typedef NeoEsp32Rmtx8Tm1914Method X8Tm1914Method; +typedef NeoEsp32Rmtx8800KbpsMethod X8800KbpsMethod; +typedef NeoEsp32Rmtx8400KbpsMethod X8400KbpsMethod; +typedef NeoEsp32Rmtx8Apa106Method X8Apa106Method; +typedef NeoEsp32Rmtx8Ws2814Method X8Ws2814Method; +typedef NeoEsp32Rmtx8Ws2813Method X8Ws2813Method; +typedef NeoEsp32Rmtx8Ws2812dMethod X8Ws2812dMethod; +typedef NeoEsp32Rmtx8Ws2811Method X8Ws2811Method; +typedef NeoEsp32Rmtx8Ws2816Method X8Ws2816Method; +typedef NeoEsp32Rmtx8Ws2812Method X8Ws2812Method; +typedef NeoEsp32Rmtx8Lc8812Method X8Lc8812Method; +*/ + +#elif defined(CONFIG_IDF_TARGET_ESP32S2) +//---------------------------------------------------------- +#define NEO_X4_ALIAS + +typedef NeoEsp32I2s0X8Ws2812xMethod X8Ws2812xMethod; +typedef NeoEsp32I2s0X8Ws2805Method X8Ws2805Method; +typedef NeoEsp32I2s0X8Sk6812Method X8Sk6812Method; +typedef NeoEsp32I2s0X8Tm1814Method X8Tm1814Method; +typedef NeoEsp32I2s0X8Tm1829Method X8Tm1829Method; +typedef NeoEsp32I2s0X8Tm1914Method X8Tm1914Method; +typedef NeoEsp32I2s0X8800KbpsMethod X8800KbpsMethod; +typedef NeoEsp32I2s0X8400KbpsMethod X8400KbpsMethod; +typedef NeoEsp32I2s0X8Apa106Method X8Apa106Method; +typedef NeoEsp32I2s0X8Ws2814Method X8Ws2814Method; +typedef NeoEsp32I2s0X8Ws2813Method X8Ws2813Method; +typedef NeoEsp32I2s0X8Ws2812dMethod X8Ws2812dMethod; +typedef NeoEsp32I2s0X8Ws2811Method X8Ws2811Method; +typedef NeoEsp32I2s0X8Ws2816Method X8Ws2816Method; +typedef NeoEsp32I2s0X8Ws2812Method X8Ws2812Method; +typedef NeoEsp32I2s0X8Lc8812Method X8Lc8812Method; + +typedef NeoEsp32I2s0X16Ws2812xMethod X16Ws2812xMethod; +typedef NeoEsp32I2s0X16Ws2805Method X16Ws2805Method; +typedef NeoEsp32I2s0X16Sk6812Method X16Sk6812Method; +typedef NeoEsp32I2s0X16Tm1814Method X16Tm1814Method; +typedef NeoEsp32I2s0X16Tm1829Method X16Tm1829Method; +typedef NeoEsp32I2s0X16Tm1914Method X16Tm1914Method; +typedef NeoEsp32I2s0X16800KbpsMethod X16800KbpsMethod; +typedef NeoEsp32I2s0X16400KbpsMethod X16400KbpsMethod; +typedef NeoEsp32I2s0X16Apa106Method X16Apa106Method; +typedef NeoEsp32I2s0X16Ws2814Method X16Ws2814Method; +typedef NeoEsp32I2s0X16Ws2813Method X16Ws2813Method; +typedef NeoEsp32I2s0X16Ws2812dMethod X16Ws2812dMethod; +typedef NeoEsp32I2s0X16Ws2811Method X16Ws2811Method; +typedef NeoEsp32I2s0X16Ws2816Method X16Ws2816Method; +typedef NeoEsp32I2s0X16Ws2812Method X16Ws2812Method; +typedef NeoEsp32I2s0X16Lc8812Method X16Lc8812Method; + +#else // plain old ESP32 +//---------------------------------------------------------- +#define NEO_X4_ALIAS + +typedef NeoEsp32I2s1X8Ws2812xMethod X8Ws2812xMethod; +typedef NeoEsp32I2s1X8Ws2805Method X8Ws2805Method; +typedef NeoEsp32I2s1X8Sk6812Method X8Sk6812Method; +typedef NeoEsp32I2s1X8Tm1814Method X8Tm1814Method; +typedef NeoEsp32I2s1X8Tm1829Method X8Tm1829Method; +typedef NeoEsp32I2s1X8Tm1914Method X8Tm1914Method; +typedef NeoEsp32I2s1X8800KbpsMethod X8800KbpsMethod; +typedef NeoEsp32I2s1X8400KbpsMethod X8400KbpsMethod; +typedef NeoEsp32I2s1X8Apa106Method X8Apa106Method; +typedef NeoEsp32I2s1X8Ws2814Method X8Ws2814Method; +typedef NeoEsp32I2s1X8Ws2813Method X8Ws2813Method; +typedef NeoEsp32I2s1X8Ws2812dMethod X8Ws2812dMethod; +typedef NeoEsp32I2s1X8Ws2811Method X8Ws2811Method; +typedef NeoEsp32I2s1X8Ws2816Method X8Ws2816Method; +typedef NeoEsp32I2s1X8Ws2812Method X8Ws2812Method; +typedef NeoEsp32I2s1X8Lc8812Method X8Lc8812Method; + +typedef NeoEsp32I2s1X16Ws2812xMethod X16Ws2812xMethod; +typedef NeoEsp32I2s1X16Ws2805Method X16Ws2805Method; +typedef NeoEsp32I2s1X16Sk6812Method X16Sk6812Method; +typedef NeoEsp32I2s1X16Tm1814Method X16Tm1814Method; +typedef NeoEsp32I2s1X16Tm1829Method X16Tm1829Method; +typedef NeoEsp32I2s1X16Tm1914Method X16Tm1914Method; +typedef NeoEsp32I2s1X16800KbpsMethod X16800KbpsMethod; +typedef NeoEsp32I2s1X16400KbpsMethod X16400KbpsMethod; +typedef NeoEsp32I2s1X16Apa106Method X16Apa106Method; +typedef NeoEsp32I2s1X16Ws2814Method X16Ws2814Method; +typedef NeoEsp32I2s1X16Ws2813Method X16Ws2813Method; +typedef NeoEsp32I2s1X16Ws2812dMethod X16Ws2812dMethod; +typedef NeoEsp32I2s1X16Ws2811Method X16Ws2811Method; +typedef NeoEsp32I2s1X16Ws2816Method X16Ws2816Method; +typedef NeoEsp32I2s1X16Ws2812Method X16Ws2812Method; +typedef NeoEsp32I2s1X16Lc8812Method X16Lc8812Method; + + +#endif + + +#elif defined(ARDUINO_ARCH_RP2040) // must be before __arm__ +//---------------------------------------------------------- + +typedef Rp2040x4Pio1Ws2812xMethod X4Ws2813Method; +typedef Rp2040x4Pio1800KbpsMethod X4Ws2812Method; +typedef Rp2040x4Pio1Ws2812xMethod X4Ws2811Method; +typedef Rp2040x4Pio1Ws2812xMethod X4Ws2816Method; +typedef Rp2040x4Pio1Ws2805Method X4Ws2805Method; +typedef Rp2040x4Pio1Ws2814Method X4Ws2814Method; +typedef Rp2040x4Pio1Sk6812Method X4Sk6812Method; +typedef Rp2040x4Pio1Tm1814Method X4Tm1814Method; +typedef Rp2040x4Pio1Tm1829Method X4Tm1829Method; +typedef Rp2040x4Pio1Tm1914Method X4Tm1914Method; +typedef Rp2040x4Pio1Sk6812Method X4Lc8812Method; +typedef Rp2040x4Pio1Apa106Method X4Apa106Method; +typedef Rp2040x4Pio1Tx1812Method X4Tx1812Method; +typedef Rp2040x4Pio1Gs1903Method X4Gs1903Method; + +typedef Rp2040x4Pio1Ws2812xMethod X4800KbpsMethod; +typedef Rp2040x4Pio1Ws2812xMethod X4Ws2812xMethod; +typedef Rp2040x4Pio1400KbpsMethod X4400KbpsMethod; +#endif + +// some plafforms do not have a native x4, so alias it to x8 +// +#if defined(NEO_X4_ALIAS) +typedef X8Ws2812xMethod X4Ws2813Method; +typedef X8800KbpsMethod X4Ws2812Method; +typedef X8Ws2812xMethod X4Ws2811Method; +typedef X8Ws2812xMethod X4Ws2816Method; +typedef X8Ws2805Method X4Ws2805Method; +typedef X8Ws2814Method X4Ws2814Method; +typedef X8Sk6812Method X4Sk6812Method; +typedef X8Tm1814Method X4Tm1814Method; +typedef X8Tm1829Method X4Tm1829Method; +typedef X8Tm1914Method X4Tm1914Method; +typedef X8Sk6812Method X4Lc8812Method; +typedef X8Apa106Method X4Apa106Method; +//typedef X8Tx1812Method X4Tx1812Method; +//typedef X8Gs1903Method X4Gs1903Method; + +typedef X8Ws2812xMethod X4800KbpsMethod; +typedef X8Ws2812xMethod X4Ws2812xMethod; +typedef X8400KbpsMethod X4400KbpsMethod; +#endif \ No newline at end of file diff --git a/src/internal/animations/NeoEase.h b/src/internal/animations/NeoEase.h index 52c0012..7c8e171 100644 --- a/src/internal/animations/NeoEase.h +++ b/src/internal/animations/NeoEase.h @@ -4,7 +4,7 @@ NeoEase provides animation curve equations for animation support. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/animations/NeoPixelAnimator.cpp b/src/internal/animations/NeoPixelAnimator.cpp index c23024d..446bc4a 100644 --- a/src/internal/animations/NeoPixelAnimator.cpp +++ b/src/internal/animations/NeoPixelAnimator.cpp @@ -4,7 +4,7 @@ NeoPixelAnimator provides animation timing support. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/LayoutMapCallback.h b/src/internal/buffers/LayoutMapCallback.h index d822f18..4f41fc5 100644 --- a/src/internal/buffers/LayoutMapCallback.h +++ b/src/internal/buffers/LayoutMapCallback.h @@ -4,7 +4,7 @@ LayoutMapCallback Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/NeoBitmapFile.h b/src/internal/buffers/NeoBitmapFile.h index d66316a..3cf3d4f 100644 --- a/src/internal/buffers/NeoBitmapFile.h +++ b/src/internal/buffers/NeoBitmapFile.h @@ -4,7 +4,7 @@ NeoBitmapFile Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/NeoBuffer.h b/src/internal/buffers/NeoBuffer.h index fa18994..7448d38 100644 --- a/src/internal/buffers/NeoBuffer.h +++ b/src/internal/buffers/NeoBuffer.h @@ -4,7 +4,7 @@ NeoBuffer Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/NeoBufferContext.h b/src/internal/buffers/NeoBufferContext.h index d1cb0b8..cc18180 100644 --- a/src/internal/buffers/NeoBufferContext.h +++ b/src/internal/buffers/NeoBufferContext.h @@ -4,7 +4,7 @@ NeoBufferContext Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/NeoBufferMethods.h b/src/internal/buffers/NeoBufferMethods.h index 70ba1db..f56850c 100644 --- a/src/internal/buffers/NeoBufferMethods.h +++ b/src/internal/buffers/NeoBufferMethods.h @@ -4,7 +4,7 @@ NeoBufferMethod Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/NeoBufferProgmemMethod.h b/src/internal/buffers/NeoBufferProgmemMethod.h index b03b72d..60f5b08 100644 --- a/src/internal/buffers/NeoBufferProgmemMethod.h +++ b/src/internal/buffers/NeoBufferProgmemMethod.h @@ -4,7 +4,7 @@ NeoBufferProgmemMethod Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/NeoDib.h b/src/internal/buffers/NeoDib.h index f3d162f..ba570eb 100644 --- a/src/internal/buffers/NeoDib.h +++ b/src/internal/buffers/NeoDib.h @@ -5,7 +5,7 @@ rather than the ColorFeature format Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/NeoShaderBase.h b/src/internal/buffers/NeoShaderBase.h index 399c6f9..d46ad92 100644 --- a/src/internal/buffers/NeoShaderBase.h +++ b/src/internal/buffers/NeoShaderBase.h @@ -4,7 +4,7 @@ NeoShaderBase Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/NeoShaderNop.h b/src/internal/buffers/NeoShaderNop.h index c7ca2e0..82e698c 100644 --- a/src/internal/buffers/NeoShaderNop.h +++ b/src/internal/buffers/NeoShaderNop.h @@ -4,7 +4,7 @@ NeoShaderNop Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/buffers/NeoVerticalSpriteSheet.h b/src/internal/buffers/NeoVerticalSpriteSheet.h index bc1885f..86f533c 100644 --- a/src/internal/buffers/NeoVerticalSpriteSheet.h +++ b/src/internal/buffers/NeoVerticalSpriteSheet.h @@ -4,7 +4,7 @@ NeoVerticalSpriteSheet Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HsbColor.cpp b/src/internal/colors/HsbColor.cpp index b45f511..5139a8e 100644 --- a/src/internal/colors/HsbColor.cpp +++ b/src/internal/colors/HsbColor.cpp @@ -4,7 +4,7 @@ HsbColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HsbColor.h b/src/internal/colors/HsbColor.h index bf9466b..9050d71 100644 --- a/src/internal/colors/HsbColor.h +++ b/src/internal/colors/HsbColor.h @@ -5,7 +5,7 @@ HsbColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HslColor.cpp b/src/internal/colors/HslColor.cpp index bd6c3f4..7d38a16 100644 --- a/src/internal/colors/HslColor.cpp +++ b/src/internal/colors/HslColor.cpp @@ -5,7 +5,7 @@ HslColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HslColor.h b/src/internal/colors/HslColor.h index 44f9061..8a388db 100644 --- a/src/internal/colors/HslColor.h +++ b/src/internal/colors/HslColor.h @@ -4,7 +4,7 @@ HslColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HtmlColor.cpp b/src/internal/colors/HtmlColor.cpp index 1840e73..0beee6b 100644 --- a/src/internal/colors/HtmlColor.cpp +++ b/src/internal/colors/HtmlColor.cpp @@ -4,7 +4,7 @@ This file contains the HtmlColor implementation Written by Unai Uribarri I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HtmlColor.h b/src/internal/colors/HtmlColor.h index 1eecd83..2d8eb12 100644 --- a/src/internal/colors/HtmlColor.h +++ b/src/internal/colors/HtmlColor.h @@ -4,7 +4,7 @@ HtmlColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HtmlColorNameStrings.cpp b/src/internal/colors/HtmlColorNameStrings.cpp index 6c71b33..949c4c2 100644 --- a/src/internal/colors/HtmlColorNameStrings.cpp +++ b/src/internal/colors/HtmlColorNameStrings.cpp @@ -4,7 +4,7 @@ HtmlColorNameStrings provides the implemenation of the color string names Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HtmlColorNameStrings.h b/src/internal/colors/HtmlColorNameStrings.h index dcd30c6..7aceeff 100644 --- a/src/internal/colors/HtmlColorNameStrings.h +++ b/src/internal/colors/HtmlColorNameStrings.h @@ -4,7 +4,7 @@ HtmlColorNameStrings provides the declaration of the color string names Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HtmlColorNames.cpp b/src/internal/colors/HtmlColorNames.cpp index ce6fd63..326b8a0 100644 --- a/src/internal/colors/HtmlColorNames.cpp +++ b/src/internal/colors/HtmlColorNames.cpp @@ -4,7 +4,7 @@ HtmlColorNames provides a template class for access to the full name table Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/HtmlColorShortNames.cpp b/src/internal/colors/HtmlColorShortNames.cpp index 14aaf26..0fe1db0 100644 --- a/src/internal/colors/HtmlColorShortNames.cpp +++ b/src/internal/colors/HtmlColorShortNames.cpp @@ -4,7 +4,7 @@ HtmlShortColorNames provides a template class for access to the short name table Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoGamma.h b/src/internal/colors/NeoGamma.h index 5dba714..26dea3a 100644 --- a/src/internal/colors/NeoGamma.h +++ b/src/internal/colors/NeoGamma.h @@ -5,7 +5,7 @@ across all color channels Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoGammaCieLabEquationMethod.h b/src/internal/colors/NeoGammaCieLabEquationMethod.h index 6603677..30d7dec 100644 --- a/src/internal/colors/NeoGammaCieLabEquationMethod.h +++ b/src/internal/colors/NeoGammaCieLabEquationMethod.h @@ -5,7 +5,7 @@ across all color channels Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoGammaDynamicTableMethod.cpp b/src/internal/colors/NeoGammaDynamicTableMethod.cpp index 383b39f..ef6657d 100644 --- a/src/internal/colors/NeoGammaDynamicTableMethod.cpp +++ b/src/internal/colors/NeoGammaDynamicTableMethod.cpp @@ -4,7 +4,7 @@ NeoGamma classes are used to correct RGB colors for human eye gamma levels Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoGammaDynamicTableMethod.h b/src/internal/colors/NeoGammaDynamicTableMethod.h index 2ccc9fe..5506736 100644 --- a/src/internal/colors/NeoGammaDynamicTableMethod.h +++ b/src/internal/colors/NeoGammaDynamicTableMethod.h @@ -5,7 +5,7 @@ across all color channels Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoGammaEquationMethod.h b/src/internal/colors/NeoGammaEquationMethod.h index 19ce687..c3b0ac5 100644 --- a/src/internal/colors/NeoGammaEquationMethod.h +++ b/src/internal/colors/NeoGammaEquationMethod.h @@ -5,7 +5,7 @@ across all color channels Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoGammaInvertMethod.h b/src/internal/colors/NeoGammaInvertMethod.h index f28bdef..8854247 100644 --- a/src/internal/colors/NeoGammaInvertMethod.h +++ b/src/internal/colors/NeoGammaInvertMethod.h @@ -5,7 +5,7 @@ across all color channels Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoGammaNullMethod.h b/src/internal/colors/NeoGammaNullMethod.h index d1d4436..4db49f2 100644 --- a/src/internal/colors/NeoGammaNullMethod.h +++ b/src/internal/colors/NeoGammaNullMethod.h @@ -5,7 +5,7 @@ across all color channels Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoGammaTableMethod.cpp b/src/internal/colors/NeoGammaTableMethod.cpp index f1d8782..206f616 100644 --- a/src/internal/colors/NeoGammaTableMethod.cpp +++ b/src/internal/colors/NeoGammaTableMethod.cpp @@ -4,7 +4,7 @@ NeoGamma classes are used to correct RGB colors for human eye gamma levels Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoGammaTableMethod.h b/src/internal/colors/NeoGammaTableMethod.h index 4874a44..33e392d 100644 --- a/src/internal/colors/NeoGammaTableMethod.h +++ b/src/internal/colors/NeoGammaTableMethod.h @@ -5,7 +5,7 @@ across all color channels Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/NeoHueBlend.h b/src/internal/colors/NeoHueBlend.h index d77a58f..46f5173 100644 --- a/src/internal/colors/NeoHueBlend.h +++ b/src/internal/colors/NeoHueBlend.h @@ -5,7 +5,7 @@ blend template functions in HslColor and HsbColor Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/Rgb16Color.h b/src/internal/colors/Rgb16Color.h index aa08164..8da204c 100644 --- a/src/internal/colors/Rgb16Color.h +++ b/src/internal/colors/Rgb16Color.h @@ -4,7 +4,7 @@ Rgb16Color provides a color object that stores in only 16 bits, aka 565 format Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/Rgb48Color.cpp b/src/internal/colors/Rgb48Color.cpp index d33b355..27854eb 100644 --- a/src/internal/colors/Rgb48Color.cpp +++ b/src/internal/colors/Rgb48Color.cpp @@ -4,7 +4,7 @@ Rgb48Color provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/Rgb48Color.h b/src/internal/colors/Rgb48Color.h index b7881c8..24f2a5c 100644 --- a/src/internal/colors/Rgb48Color.h +++ b/src/internal/colors/Rgb48Color.h @@ -4,7 +4,7 @@ Rgb48Color provides a color object that contains 16bit color elements Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbColor.cpp b/src/internal/colors/RgbColor.cpp index 88a7a1f..2c2d19d 100644 --- a/src/internal/colors/RgbColor.cpp +++ b/src/internal/colors/RgbColor.cpp @@ -4,7 +4,7 @@ RgbColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbColor.h b/src/internal/colors/RgbColor.h index c62df66..aab208c 100644 --- a/src/internal/colors/RgbColor.h +++ b/src/internal/colors/RgbColor.h @@ -4,7 +4,7 @@ RgbColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbColorBase.cpp b/src/internal/colors/RgbColorBase.cpp index 92c43f9..5aac50d 100644 --- a/src/internal/colors/RgbColorBase.cpp +++ b/src/internal/colors/RgbColorBase.cpp @@ -4,7 +4,7 @@ RgbColorBase provides a RGB color object common support Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbColorBase.h b/src/internal/colors/RgbColorBase.h index aef9d9a..eb0879e 100644 --- a/src/internal/colors/RgbColorBase.h +++ b/src/internal/colors/RgbColorBase.h @@ -4,7 +4,7 @@ RgbColorBase provides a RGB color object common support Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbColorIndexes.h b/src/internal/colors/RgbColorIndexes.h index 48df6b8..49a944b 100644 --- a/src/internal/colors/RgbColorIndexes.h +++ b/src/internal/colors/RgbColorIndexes.h @@ -5,7 +5,7 @@ RgbColorIndexes provides constants for color element vector access on Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/Rgbw64Color.cpp b/src/internal/colors/Rgbw64Color.cpp index e90f7af..cfc53d6 100644 --- a/src/internal/colors/Rgbw64Color.cpp +++ b/src/internal/colors/Rgbw64Color.cpp @@ -4,7 +4,7 @@ Rgbw64Color provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/Rgbw64Color.h b/src/internal/colors/Rgbw64Color.h index 9729740..9486540 100644 --- a/src/internal/colors/Rgbw64Color.h +++ b/src/internal/colors/Rgbw64Color.h @@ -4,7 +4,7 @@ Rgbw64Color provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbwColor.cpp b/src/internal/colors/RgbwColor.cpp index cbb38d4..bca05f3 100644 --- a/src/internal/colors/RgbwColor.cpp +++ b/src/internal/colors/RgbwColor.cpp @@ -4,7 +4,7 @@ RgbwColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbwColor.h b/src/internal/colors/RgbwColor.h index 1270289..1940db7 100644 --- a/src/internal/colors/RgbwColor.h +++ b/src/internal/colors/RgbwColor.h @@ -4,7 +4,7 @@ RgbwColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/Rgbww80Color.cpp b/src/internal/colors/Rgbww80Color.cpp index 9914ae4..78930a0 100644 --- a/src/internal/colors/Rgbww80Color.cpp +++ b/src/internal/colors/Rgbww80Color.cpp @@ -4,7 +4,7 @@ Rgbww80Color provides a color object that can be directly consumed by NeoPixelBu Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/Rgbww80Color.h b/src/internal/colors/Rgbww80Color.h index df3fcde..f24ea0a 100644 --- a/src/internal/colors/Rgbww80Color.h +++ b/src/internal/colors/Rgbww80Color.h @@ -4,7 +4,7 @@ Rgbww80Color provides a color object that can be directly consumed by NeoPixelBu Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbwwColor.cpp b/src/internal/colors/RgbwwColor.cpp index 09e8f8d..afff9e1 100644 --- a/src/internal/colors/RgbwwColor.cpp +++ b/src/internal/colors/RgbwwColor.cpp @@ -4,7 +4,7 @@ RgbwwColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbwwColor.h b/src/internal/colors/RgbwwColor.h index ac9b1b7..950a357 100644 --- a/src/internal/colors/RgbwwColor.h +++ b/src/internal/colors/RgbwwColor.h @@ -4,7 +4,7 @@ RgbwwColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbwwwColor.cpp b/src/internal/colors/RgbwwwColor.cpp index a2eb4e7..cc23b2f 100644 --- a/src/internal/colors/RgbwwwColor.cpp +++ b/src/internal/colors/RgbwwwColor.cpp @@ -4,7 +4,7 @@ RgbwwwColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/RgbwwwColor.h b/src/internal/colors/RgbwwwColor.h index c4c781b..edaca89 100644 --- a/src/internal/colors/RgbwwwColor.h +++ b/src/internal/colors/RgbwwwColor.h @@ -4,7 +4,7 @@ RgbwwwColor provides a color object that can be directly consumed by NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/SegmentDigit.cpp b/src/internal/colors/SegmentDigit.cpp index 2984cf8..3b75691 100644 --- a/src/internal/colors/SegmentDigit.cpp +++ b/src/internal/colors/SegmentDigit.cpp @@ -4,7 +4,7 @@ SegmentDigit provides a color object that can be directly consumed by NeoPixelBu Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/colors/SegmentDigit.h b/src/internal/colors/SegmentDigit.h index abf8649..d949c4b 100644 --- a/src/internal/colors/SegmentDigit.h +++ b/src/internal/colors/SegmentDigit.h @@ -4,7 +4,7 @@ SegmentDigit provides a color object that can be directly consumed by NeoPixelBu Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/DotStarL4ByteFeature.h b/src/internal/features/DotStarL4ByteFeature.h index 70b0cfb..1f54a41 100644 --- a/src/internal/features/DotStarL4ByteFeature.h +++ b/src/internal/features/DotStarL4ByteFeature.h @@ -5,7 +5,7 @@ DotStarL4ByteFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/DotStarL4WordFeature.h b/src/internal/features/DotStarL4WordFeature.h index 5f27f34..099d99f 100644 --- a/src/internal/features/DotStarL4WordFeature.h +++ b/src/internal/features/DotStarL4WordFeature.h @@ -5,7 +5,7 @@ DotStarL4WordFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/DotStarLrgbFeatures.h b/src/internal/features/DotStarLrgbFeatures.h index adc352f..d70a203 100644 --- a/src/internal/features/DotStarLrgbFeatures.h +++ b/src/internal/features/DotStarLrgbFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class when used with DotStars Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/DotStarRgbFeatures.h b/src/internal/features/DotStarRgbFeatures.h index d5f2186..cf5513e 100644 --- a/src/internal/features/DotStarRgbFeatures.h +++ b/src/internal/features/DotStarRgbFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class when used with DotStars Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/DotStarX4ByteFeature.h b/src/internal/features/DotStarX4ByteFeature.h index 9eab1f3..5fd5296 100644 --- a/src/internal/features/DotStarX4ByteFeature.h +++ b/src/internal/features/DotStarX4ByteFeature.h @@ -5,7 +5,7 @@ DotStarX4ByteFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/DotStarX4WordFeature.h b/src/internal/features/DotStarX4WordFeature.h index 25f0f6e..20a7166 100644 --- a/src/internal/features/DotStarX4WordFeature.h +++ b/src/internal/features/DotStarX4WordFeature.h @@ -5,7 +5,7 @@ DotStarX4WordFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Lpd6803RgbFeatures.h b/src/internal/features/Lpd6803RgbFeatures.h index 15e8fa5..f1eef07 100644 --- a/src/internal/features/Lpd6803RgbFeatures.h +++ b/src/internal/features/Lpd6803RgbFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class when used with DotStar like chips Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Lpd8806RgbFeatures.h b/src/internal/features/Lpd8806RgbFeatures.h index e800a1f..6d8755e 100644 --- a/src/internal/features/Lpd8806RgbFeatures.h +++ b/src/internal/features/Lpd8806RgbFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class when used with DotStar like chips Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo2Byte555Feature.h b/src/internal/features/Neo2Byte555Feature.h index a9fca0d..d5b28f2 100644 --- a/src/internal/features/Neo2Byte555Feature.h +++ b/src/internal/features/Neo2Byte555Feature.h @@ -5,7 +5,7 @@ with 555 encoding for NeoPixelBus Color Feature template classes Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo3Byte777Feature.h b/src/internal/features/Neo3Byte777Feature.h index 1ce7031..bbaa1b3 100644 --- a/src/internal/features/Neo3Byte777Feature.h +++ b/src/internal/features/Neo3Byte777Feature.h @@ -5,7 +5,7 @@ Neo3Byte777Feature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo3ByteFeature.h b/src/internal/features/Neo3ByteFeature.h index d6a228f..dca98cd 100644 --- a/src/internal/features/Neo3ByteFeature.h +++ b/src/internal/features/Neo3ByteFeature.h @@ -5,7 +5,7 @@ Neo3ByteFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo3WordFeature.h b/src/internal/features/Neo3WordFeature.h index 4d74092..decd03f 100644 --- a/src/internal/features/Neo3WordFeature.h +++ b/src/internal/features/Neo3WordFeature.h @@ -5,7 +5,7 @@ Neo3WordFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo4ByteFeature.h b/src/internal/features/Neo4ByteFeature.h index eea734c..d76e70f 100644 --- a/src/internal/features/Neo4ByteFeature.h +++ b/src/internal/features/Neo4ByteFeature.h @@ -5,7 +5,7 @@ Neo4ByteFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo4WordFeature.h b/src/internal/features/Neo4WordFeature.h index fe3d3ad..b8a5de8 100644 --- a/src/internal/features/Neo4WordFeature.h +++ b/src/internal/features/Neo4WordFeature.h @@ -5,7 +5,7 @@ Neo4WordFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo5ByteFeature.h b/src/internal/features/Neo5ByteFeature.h index 98b47cf..e143f46 100644 --- a/src/internal/features/Neo5ByteFeature.h +++ b/src/internal/features/Neo5ByteFeature.h @@ -5,7 +5,7 @@ Neo5ByteFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo5WordFeature.h b/src/internal/features/Neo5WordFeature.h index 713ecfa..668db26 100644 --- a/src/internal/features/Neo5WordFeature.h +++ b/src/internal/features/Neo5WordFeature.h @@ -5,7 +5,7 @@ Neo5WordFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo6ByteFeature.h b/src/internal/features/Neo6ByteFeature.h index 3385208..c37c2bb 100644 --- a/src/internal/features/Neo6ByteFeature.h +++ b/src/internal/features/Neo6ByteFeature.h @@ -5,7 +5,7 @@ Neo6ByteFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo6xByteFeature.h b/src/internal/features/Neo6xByteFeature.h index 9b732c6..b110f69 100644 --- a/src/internal/features/Neo6xByteFeature.h +++ b/src/internal/features/Neo6xByteFeature.h @@ -5,7 +5,7 @@ Neo6xByteFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Neo6xxByteFeature.h b/src/internal/features/Neo6xxByteFeature.h index 6b5bdec..2b7fbb7 100644 --- a/src/internal/features/Neo6xxByteFeature.h +++ b/src/internal/features/Neo6xxByteFeature.h @@ -5,7 +5,7 @@ Neo6xxByteFeature provides feature base class to describe color order for Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoAbcdefgpsSegmentFeature.h b/src/internal/features/NeoAbcdefgpsSegmentFeature.h index 940abd8..2f68793 100644 --- a/src/internal/features/NeoAbcdefgpsSegmentFeature.h +++ b/src/internal/features/NeoAbcdefgpsSegmentFeature.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class when used with seven segment display Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoBacedfpgsSegmentFeature.h b/src/internal/features/NeoBacedfpgsSegmentFeature.h index 9a36f85..a58eb97 100644 --- a/src/internal/features/NeoBacedfpgsSegmentFeature.h +++ b/src/internal/features/NeoBacedfpgsSegmentFeature.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class when used with seven segment display Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoByteElements.h b/src/internal/features/NeoByteElements.h index 3075bdc..215fe38 100644 --- a/src/internal/features/NeoByteElements.h +++ b/src/internal/features/NeoByteElements.h @@ -5,7 +5,7 @@ for NeoPixelBus Color Feature template classes Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoElementsNoSettings.h b/src/internal/features/NeoElementsNoSettings.h index ef222b7..af345ca 100644 --- a/src/internal/features/NeoElementsNoSettings.h +++ b/src/internal/features/NeoElementsNoSettings.h @@ -5,7 +5,7 @@ NeoElementsNoSettings provides feature base classes to describe a Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoRgb48Features.h b/src/internal/features/NeoRgb48Features.h index c9a2165..e663c21 100644 --- a/src/internal/features/NeoRgb48Features.h +++ b/src/internal/features/NeoRgb48Features.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoRgbFeatures.h b/src/internal/features/NeoRgbFeatures.h index ec4cb06..33572cc 100644 --- a/src/internal/features/NeoRgbFeatures.h +++ b/src/internal/features/NeoRgbFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoRgbcwxFeatures.h b/src/internal/features/NeoRgbcwxFeatures.h index 42f475c..9aa220d 100644 --- a/src/internal/features/NeoRgbcwxFeatures.h +++ b/src/internal/features/NeoRgbcwxFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoRgbw64Features.h b/src/internal/features/NeoRgbw64Features.h index b04e76f..11e9a41 100644 --- a/src/internal/features/NeoRgbw64Features.h +++ b/src/internal/features/NeoRgbw64Features.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoRgbwFeatures.h b/src/internal/features/NeoRgbwFeatures.h index 3627d8a..9cd4250 100644 --- a/src/internal/features/NeoRgbwFeatures.h +++ b/src/internal/features/NeoRgbwFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoRgbww80Features.h b/src/internal/features/NeoRgbww80Features.h index a736548..8d79dff 100644 --- a/src/internal/features/NeoRgbww80Features.h +++ b/src/internal/features/NeoRgbww80Features.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoRgbwwFeatures.h b/src/internal/features/NeoRgbwwFeatures.h index 9bf3c76..baae9b5 100644 --- a/src/internal/features/NeoRgbwwFeatures.h +++ b/src/internal/features/NeoRgbwwFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoRgbwwwFeatures.h b/src/internal/features/NeoRgbwwwFeatures.h index a45c1c8..2cf4e81 100644 --- a/src/internal/features/NeoRgbwwwFeatures.h +++ b/src/internal/features/NeoRgbwwwFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoRgbwxxFeatures.h b/src/internal/features/NeoRgbwxxFeatures.h index c27af05..1a65e66 100644 --- a/src/internal/features/NeoRgbwxxFeatures.h +++ b/src/internal/features/NeoRgbwxxFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoSm168x3Features.h b/src/internal/features/NeoSm168x3Features.h index 503cc75..2ea112f 100644 --- a/src/internal/features/NeoSm168x3Features.h +++ b/src/internal/features/NeoSm168x3Features.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class specific to the SM168x3 chips/leds Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoSm168x4Features.h b/src/internal/features/NeoSm168x4Features.h index 07c371c..11de6ea 100644 --- a/src/internal/features/NeoSm168x4Features.h +++ b/src/internal/features/NeoSm168x4Features.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class specific to the SM168x4 chips/leds Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoSm168x5Features.h b/src/internal/features/NeoSm168x5Features.h index 687c75c..7f6be40 100644 --- a/src/internal/features/NeoSm168x5Features.h +++ b/src/internal/features/NeoSm168x5Features.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class specific to the SM168x5 chips/leds Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoTm1814Features.h b/src/internal/features/NeoTm1814Features.h index 851466a..a1d06b0 100644 --- a/src/internal/features/NeoTm1814Features.h +++ b/src/internal/features/NeoTm1814Features.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class specific to the TM1814 chip Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/NeoTm1914Features.h b/src/internal/features/NeoTm1914Features.h index b07a13e..c75bdc9 100644 --- a/src/internal/features/NeoTm1914Features.h +++ b/src/internal/features/NeoTm1914Features.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class specific to the TM1914 chip Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/P9813BgrFeature.h b/src/internal/features/P9813BgrFeature.h index c66d08e..fffa1b9 100644 --- a/src/internal/features/P9813BgrFeature.h +++ b/src/internal/features/P9813BgrFeature.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class when used with P9813s Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/features/Tlc59711RgbFeatures.h b/src/internal/features/Tlc59711RgbFeatures.h index 506aaf1..aec9183 100644 --- a/src/internal/features/Tlc59711RgbFeatures.h +++ b/src/internal/features/Tlc59711RgbFeatures.h @@ -5,7 +5,7 @@ color depth for NeoPixelBus template class specific to the TLC59711 chip Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/DotStarEsp32DmaSpiMethod.h b/src/internal/methods/DotStarEsp32DmaSpiMethod.h index 4fef576..5ab5a77 100644 --- a/src/internal/methods/DotStarEsp32DmaSpiMethod.h +++ b/src/internal/methods/DotStarEsp32DmaSpiMethod.h @@ -5,7 +5,7 @@ Written by Michael C. Miller. DotStarEsp32DmaSpiMethod written by Louis Beaudoin (Pixelvation) I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/DotStarGenericMethod.h b/src/internal/methods/DotStarGenericMethod.h index e48aba1..615d9ef 100644 --- a/src/internal/methods/DotStarGenericMethod.h +++ b/src/internal/methods/DotStarGenericMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for DotStars using general Pins (APA102). Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/FractionClk.c b/src/internal/methods/FractionClk.c index 151fd11..320cdef 100644 --- a/src/internal/methods/FractionClk.c +++ b/src/internal/methods/FractionClk.c @@ -4,7 +4,7 @@ NeoPixel library helper functions. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Hd108GenericMethod.h b/src/internal/methods/Hd108GenericMethod.h index 9eba23d..4556bbe 100644 --- a/src/internal/methods/Hd108GenericMethod.h +++ b/src/internal/methods/Hd108GenericMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for HD108 using general Pins. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Lpd6803GenericMethod.h b/src/internal/methods/Lpd6803GenericMethod.h index d3f0408..2e95e7e 100644 --- a/src/internal/methods/Lpd6803GenericMethod.h +++ b/src/internal/methods/Lpd6803GenericMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for LPD6803 using general Pins Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Lpd8806GenericMethod.h b/src/internal/methods/Lpd8806GenericMethod.h index c4afa61..b28e575 100644 --- a/src/internal/methods/Lpd8806GenericMethod.h +++ b/src/internal/methods/Lpd8806GenericMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for LPD8806 using general Pins Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Mbi6033GenericMethod.h b/src/internal/methods/Mbi6033GenericMethod.h index 5b113ae..eaddbca 100644 --- a/src/internal/methods/Mbi6033GenericMethod.h +++ b/src/internal/methods/Mbi6033GenericMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for Mbi6033s using general Pins. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoArmMethod.h b/src/internal/methods/NeoArmMethod.h index a31365f..dba4000 100644 --- a/src/internal/methods/NeoArmMethod.h +++ b/src/internal/methods/NeoArmMethod.h @@ -6,7 +6,7 @@ Written by Michael C. Miller. Some work taken from the Adafruit NeoPixel library. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoAvrMethod.h b/src/internal/methods/NeoAvrMethod.h index beb1b28..fe8468a 100644 --- a/src/internal/methods/NeoAvrMethod.h +++ b/src/internal/methods/NeoAvrMethod.h @@ -5,7 +5,7 @@ Written by Michael C. Miller. Some work taken from the Adafruit NeoPixel library. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoBits.h b/src/internal/methods/NeoBits.h index 18bb7aa..ba7ab42 100644 --- a/src/internal/methods/NeoBits.h +++ b/src/internal/methods/NeoBits.h @@ -5,7 +5,7 @@ NeoPixel library helper functions for Methods. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. @@ -25,64 +25,73 @@ License along with NeoPixel. If not, see . -------------------------------------------------------------------------*/ +class NeoBitsSpeedBase +{ +public: + static uint16_t ByteSendTimeUs(uint16_t bitSendTimeNs) + { + return (bitSendTimeNs * 8) / 1000; + } +}; + // -------------------------------------------------------- -class NeoBitsSpeedWs2812x +class NeoBitsSpeedWs2812x : public NeoBitsSpeedBase { public: const static uint16_t BitSendTimeNs = 1250; const static uint16_t ResetTimeUs = 300; }; -class NeoBitsSpeedWs2805 +class NeoBitsSpeedWs2805 : public NeoBitsSpeedBase { public: const static uint16_t BitSendTimeNs = 1125; const static uint16_t ResetTimeUs = 300; // spec is 280, intentionally longer for compatiblity use }; -class NeoBitsSpeedSk6812 +class NeoBitsSpeedSk6812 : public NeoBitsSpeedBase { public: const static uint16_t BitSendTimeNs = 1250; const static uint16_t ResetTimeUs = 80; }; -class NeoBitsSpeedTm1814 +class NeoBitsSpeedTm1814 : public NeoBitsSpeedBase { public: const static uint16_t BitSendTimeNs = 1250; const static uint16_t ResetTimeUs = 200; }; -class NeoBitsSpeedTm1914 +class NeoBitsSpeedTm1914 : public NeoBitsSpeedBase { public: const static uint16_t BitSendTimeNs = 1250; const static uint16_t ResetTimeUs = 200; }; -class NeoBitsSpeedTm1829 +class NeoBitsSpeedTm1829 : public NeoBitsSpeedBase { public: const static uint16_t BitSendTimeNs = 1250; const static uint16_t ResetTimeUs = 200; }; -class NeoBitsSpeed800Kbps +class NeoBitsSpeed800Kbps : public NeoBitsSpeedBase { public: const static uint16_t BitSendTimeNs = 1250; const static uint16_t ResetTimeUs = 50; }; -class NeoBitsSpeed400Kbps +class NeoBitsSpeed400Kbps : public NeoBitsSpeedBase { public: const static uint16_t BitSendTimeNs = 2500; const static uint16_t ResetTimeUs = 50; }; -class NeoBitsSpeedApa106 +class NeoBitsSpeedApa106 : public NeoBitsSpeedBase { public: const static uint16_t BitSendTimeNs = 1710; diff --git a/src/internal/methods/NeoEsp32I2sMethod.h b/src/internal/methods/NeoEsp32I2sMethod.h index fa9f18f..f8d7e78 100644 --- a/src/internal/methods/NeoEsp32I2sMethod.h +++ b/src/internal/methods/NeoEsp32I2sMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for Esp32. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. @@ -316,7 +316,7 @@ private: // it also needs to 4 byte aligned size_t dmaSettingsSize = T_CADENCE::DmaBitsPerPixelBit * settingsSize; size_t dmaPixelSize = T_CADENCE::DmaBitsPerPixelBit * pixelSize; - size_t resetSize = NeoUtil::RoundUp(T_CADENCE::DmaBitsPerPixelBit * T_SPEED::ResetTimeUs / (T_SPEED::BitSendTimeNs * 8 / 1000), 4); + size_t resetSize = NeoUtil::RoundUp(T_CADENCE::DmaBitsPerPixelBit * T_SPEED::ResetTimeUs / T_SPEED::ByteSendTimeUs(T_SPEED::BitSendTimeNs), 4); _i2sBufferSize = NeoUtil::RoundUp(pixelCount * dmaPixelSize + dmaSettingsSize, 4) + resetSize; diff --git a/src/internal/methods/NeoEsp32I2sXMethod.h b/src/internal/methods/NeoEsp32I2sXMethod.h index cf56368..fd628fa 100644 --- a/src/internal/methods/NeoEsp32I2sXMethod.h +++ b/src/internal/methods/NeoEsp32I2sXMethod.h @@ -6,7 +6,7 @@ NeoPixel library helper functions for Esp32. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. @@ -795,7 +795,7 @@ public: _pin(pin), _bus() { - _bus.RegisterNewMuxBus(_sizeData + T_SPEED::ResetTimeUs / (T_SPEED::BitSendTimeNs * 8 / 1000)); + _bus.RegisterNewMuxBus(_sizeData + T_SPEED::ResetTimeUs / T_SPEED::ByteSendTimeUs(T_SPEED::BitSendTimeNs)); } ~NeoEsp32I2sXMethodBase() diff --git a/src/internal/methods/NeoEsp32LcdXMethod.h b/src/internal/methods/NeoEsp32LcdXMethod.h index 025a9dc..b868b85 100644 --- a/src/internal/methods/NeoEsp32LcdXMethod.h +++ b/src/internal/methods/NeoEsp32LcdXMethod.h @@ -6,7 +6,7 @@ NeoPixel library helper functions for Esp32. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. @@ -606,7 +606,7 @@ public: _pin(pin), _bus() { - size_t numResetBytes = T_SPEED::ResetTimeUs / (T_SPEED::BitSendTimeNs * 8 / 1000); + size_t numResetBytes = T_SPEED::ResetTimeUs / T_SPEED::ByteSendTimeUs(T_SPEED::BitSendTimeNs); _bus.RegisterNewMuxBus(_sizeData + numResetBytes); } @@ -702,7 +702,7 @@ typedef NeoEsp32LcdX8Ws2812xMethod NeoEsp32LcdX8Ws2816Method; typedef NeoEsp32LcdX8800KbpsMethod NeoEsp32LcdX8Ws2812Method; typedef NeoEsp32LcdX8Sk6812Method NeoEsp32LcdX8Lc8812Method; -typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Ws2812xMethod; +typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Ws2812xMethod; typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Ws2805Method; typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Sk6812Method; typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Tm1814Method; @@ -722,7 +722,7 @@ typedef NeoEsp32LcdX16Sk6812Method NeoEsp32LcdX16Lc8812Method; //-------------------------------------------------------- -typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX8Ws2812xInvertedMethod; +typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX8Ws2812xInvertedMethod; typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX8Ws2805InvertedMethod; typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX8Sk6812InvertedMethod; typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX8Tm1814InvertedMethod; @@ -740,7 +740,7 @@ typedef NeoEsp32LcdX8Ws2812xInvertedMethod NeoEsp32LcdX8Ws2816InvertedMethod; typedef NeoEsp32LcdX8800KbpsInvertedMethod NeoEsp32LcdX8Ws2812InvertedMethod; typedef NeoEsp32LcdX8Sk6812InvertedMethod NeoEsp32LcdX8Lc8812InvertedMethod; -typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Ws2812xInvertedMethod; +typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Ws2812xInvertedMethod; typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Ws2805InvertedMethod; typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Sk6812InvertedMethod; typedef NeoEsp32LcdXMethodBase NeoEsp32LcdX16Tm1814InvertedMethod; diff --git a/src/internal/methods/NeoEsp32RmtMethod.cpp b/src/internal/methods/NeoEsp32RmtMethod.cpp index f68c91c..09feb34 100644 --- a/src/internal/methods/NeoEsp32RmtMethod.cpp +++ b/src/internal/methods/NeoEsp32RmtMethod.cpp @@ -7,7 +7,7 @@ a workaround to the GCC bug that drops method attributes from template methods Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoEsp32RmtMethod.h b/src/internal/methods/NeoEsp32RmtMethod.h index a15f4fa..8e6fdbf 100644 --- a/src/internal/methods/NeoEsp32RmtMethod.h +++ b/src/internal/methods/NeoEsp32RmtMethod.h @@ -7,7 +7,7 @@ a workaround to the GCC bug that drops method attributes from template methods Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoEsp8266DmaMethod.h b/src/internal/methods/NeoEsp8266DmaMethod.h index f1ba009..d372e1e 100644 --- a/src/internal/methods/NeoEsp8266DmaMethod.h +++ b/src/internal/methods/NeoEsp8266DmaMethod.h @@ -8,7 +8,7 @@ Thanks to github/cnlohr for the original work on DMA support, which opend all our minds to a better way (located at https://github.com/cnlohr/esp8266ws2812i2s). I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. @@ -33,11 +33,14 @@ License along with NeoPixel. If not, see #ifdef ARDUINO_ARCH_ESP8266 #include "NeoEsp8266I2sMethodCore.h" -class NeoEsp8266DmaSpeedBase +class NeoEsp8266DmaNormalPattern { public: static const uint8_t IdleLevel = 0; - static uint16_t Convert(uint8_t value) + static const uint16_t OneBit3Step = 0b00000110; + static const uint16_t ZeroBit3Step = 0b00000100; + + static uint16_t Convert4Step(uint8_t value) { const uint16_t bitpatterns[16] = { @@ -51,11 +54,14 @@ public: } }; -class NeoEsp8266DmaInvertedSpeedBase +class NeoEsp8266DmaInvertedPattern { public: static const uint8_t IdleLevel = 1; - static uint16_t Convert(uint8_t value) + static const uint16_t OneBit3Step = 0b00000001; + static const uint16_t ZeroBit3Step = 0b00000011; + + static uint16_t Convert4Step(uint8_t value) { const uint16_t bitpatterns[16] = { @@ -69,159 +75,91 @@ public: } }; -class NeoEsp8266DmaSpeed800KbpsBase : public NeoEsp8266DmaSpeedBase +template class NeoEsp8266Dma3StepEncode : public T_PATTERN { public: - const static uint32_t I2sClockDivisor = 5; // 0-63 - const static uint32_t I2sBaseClockDivisor = 10; // 0-63 - const static uint32_t ByteSendTimeUs = 10; // us it takes to send a single pixel element at 800khz speed + const static size_t DmaBitsPerPixelBit = 3; // 3 step cadence, matches encoding + + static size_t SpacingPixelSize(size_t sizePixel) + { + return sizePixel; + } + + static void FillBuffers(uint8_t* i2sBuffer, + const uint8_t* data, + size_t sizeData, + [[maybe_unused]] size_t sizePixel) + { + const uint8_t SrcBitMask = 0x80; + const size_t BitsInSample = sizeof(uint32_t) * 8; + + uint32_t* pDma = reinterpret_cast(i2sBuffer); + uint32_t dmaValue = 0; + uint8_t destBitsLeft = BitsInSample; + + const uint8_t* pSrc = data; + const uint8_t* pEnd = pSrc + sizeData; + + while (pSrc < pEnd) + { + uint8_t value = *(pSrc++); + + for (uint8_t bitSrc = 0; bitSrc < 8; bitSrc++) + { + const uint16_t Bit = ((value & SrcBitMask) ? T_PATTERN::OneBit3Step : T_PATTERN::ZeroBit3Step); + + if (destBitsLeft > 3) + { + destBitsLeft -= 3; + dmaValue |= Bit << destBitsLeft; + +#if defined(NEO_DEBUG_DUMP_I2S_BUFFER) + NeoUtil::PrintBin(dmaValue); + Serial.print(" < "); + Serial.println(destBitsLeft); +#endif + } + else if (destBitsLeft <= 3) + { + uint8_t bitSplit = (3 - destBitsLeft); + dmaValue |= Bit >> bitSplit; + +#if defined(NEO_DEBUG_DUMP_I2S_BUFFER) + NeoUtil::PrintBin(dmaValue); + Serial.print(" > "); + Serial.println(bitSplit); +#endif + // next dma value, store and reset + *(pDma++) = dmaValue; + dmaValue = 0; + + destBitsLeft = BitsInSample - bitSplit; + if (bitSplit) + { + dmaValue |= Bit << destBitsLeft; + } + +#if defined(NEO_DEBUG_DUMP_I2S_BUFFER) + NeoUtil::PrintBin(dmaValue); + Serial.print(" v "); + Serial.println(bitSplit); +#endif + } + + // Next + value <<= 1; + } + } + // store the remaining bits + *pDma++ = dmaValue; + } }; -class NeoEsp8266DmaSpeedWs2812x : public NeoEsp8266DmaSpeed800KbpsBase +template class NeoEsp8266Dma4StepEncode : public T_PATTERN { public: - const static uint32_t ResetTimeUs = 300; -}; + const static size_t DmaBitsPerPixelBit = 4; // 4 step cadence, matches encoding -class NeoEsp8266DmaSpeedWs2805 : public NeoEsp8266DmaSpeedBase -{ -public: - const static uint32_t I2sClockDivisor = 4; // 0-63 - const static uint32_t I2sBaseClockDivisor = 11; // 0-63 - const static uint32_t ByteSendTimeUs = 9; // us it takes to send a single pixel element - const static uint32_t ResetTimeUs = 300; // spec is 280, intentionally longer for compatiblity use -}; - -class NeoEsp8266DmaSpeedSk6812 : public NeoEsp8266DmaSpeed800KbpsBase -{ -public: - const static uint32_t ResetTimeUs = 80; -}; - -class NeoEsp8266DmaInvertedSpeedTm1814 : public NeoEsp8266DmaSpeed800KbpsBase -{ -public: - const static uint32_t ResetTimeUs = 200; -}; - -class NeoEsp8266DmaInvertedSpeedTm1829 : public NeoEsp8266DmaSpeed800KbpsBase -{ -public: - const static uint32_t ResetTimeUs = 200; -}; - -class NeoEsp8266DmaSpeed800Kbps : public NeoEsp8266DmaSpeed800KbpsBase -{ -public: - const static uint32_t ResetTimeUs = 50; -}; - -class NeoEsp8266DmaSpeed400Kbps : public NeoEsp8266DmaSpeedBase -{ -public: - const static uint32_t I2sClockDivisor = 10; // 0-63 - const static uint32_t I2sBaseClockDivisor = 10; // 0-63 - const static uint32_t ByteSendTimeUs = 20; // us it takes to send a single pixel element at 400khz speed - const static uint32_t ResetTimeUs = 50; -}; - -class NeoEsp8266DmaSpeedApa106 : public NeoEsp8266DmaSpeedBase -{ -public: - const static uint32_t I2sClockDivisor = 4; // 0-63 - const static uint32_t I2sBaseClockDivisor = 17; // 0-63 - const static uint32_t ByteSendTimeUs = 14; // us it takes to send a single pixel element - const static uint32_t ResetTimeUs = 50; -}; - -class NeoEsp8266DmaSpeedIntertek : public NeoEsp8266DmaSpeedBase -{ -public: - const static uint32_t I2sClockDivisor = 5; // 0-63 - const static uint32_t I2sBaseClockDivisor = 10; // 0-63 - const static uint32_t ByteSendTimeUs = 10; // us it takes to send a single pixel element - const static uint32_t ResetTimeUs = 12470; - const static uint32_t InterPixelTimeUs = 20; -}; - -class NeoEsp8266DmaInvertedSpeed800KbpsBase : public NeoEsp8266DmaInvertedSpeedBase -{ -public: - const static uint32_t I2sClockDivisor = 5; // 0-63 - const static uint32_t I2sBaseClockDivisor = 10; // 0-63 - const static uint32_t ByteSendTimeUs = 10; // us it takes to send a single pixel element at 800khz speed -}; - -class NeoEsp8266DmaInvertedSpeedWs2812x : public NeoEsp8266DmaInvertedSpeed800KbpsBase -{ -public: - const static uint32_t ResetTimeUs = 300; -}; - -class NeoEsp8266DmaInvertedSpeedWs2805 : public NeoEsp8266DmaInvertedSpeedBase -{ -public: - const static uint32_t I2sClockDivisor = 4; // 0-63 - const static uint32_t I2sBaseClockDivisor = 11; // 0-63 - const static uint32_t ByteSendTimeUs = 9; // us it takes to send a single pixel element - const static uint32_t ResetTimeUs = 300; // spec is 280, intentionally longer for compatiblity use -}; - -class NeoEsp8266DmaInvertedSpeedSk6812 : public NeoEsp8266DmaInvertedSpeed800KbpsBase -{ -public: - const static uint32_t ResetTimeUs = 80; -}; - -class NeoEsp8266DmaSpeedTm1814 : public NeoEsp8266DmaInvertedSpeed800KbpsBase -{ -public: - const static uint32_t ResetTimeUs = 200; -}; - -class NeoEsp8266DmaSpeedTm1829 : public NeoEsp8266DmaInvertedSpeed800KbpsBase -{ -public: - const static uint32_t ResetTimeUs = 200; -}; - -class NeoEsp8266DmaInvertedSpeed800Kbps : public NeoEsp8266DmaInvertedSpeed800KbpsBase -{ -public: - const static uint32_t ResetTimeUs = 50; -}; - -class NeoEsp8266DmaInvertedSpeed400Kbps : public NeoEsp8266DmaInvertedSpeedBase -{ -public: - const static uint32_t I2sClockDivisor = 10; // 0-63 - const static uint32_t I2sBaseClockDivisor = 10; // 0-63 - const static uint32_t ByteSendTimeUs = 20; // us it takes to send a single pixel element at 400khz speed - const static uint32_t ResetTimeUs = 50; -}; - -class NeoEsp8266DmaInvertedSpeedApa106 : public NeoEsp8266DmaInvertedSpeedBase -{ -public: - const static uint32_t I2sClockDivisor = 4; // 0-63 - const static uint32_t I2sBaseClockDivisor = 17; // 0-63 - const static uint32_t ByteSendTimeUs = 14; // us it takes to send a single pixel element - const static uint32_t ResetTimeUs = 50; -}; - -class NeoEsp8266DmaInvertedSpeedIntertek : public NeoEsp8266DmaInvertedSpeedBase -{ -public: - const static uint32_t I2sClockDivisor = 5; // 0-63 - const static uint32_t I2sBaseClockDivisor = 10; // 0-63 - const static uint32_t ByteSendTimeUs = 10; // us it takes to send a single pixel element at 800khz speed - const static uint32_t ResetTimeUs = 12470; - const static uint32_t InterPixelTimeUs = 20; -}; - -template class NeoEsp8266DmaEncode : public T_SPEED -{ -public: static size_t SpacingPixelSize(size_t sizePixel) { return sizePixel; @@ -236,51 +174,13 @@ public: const uint8_t* pEnd = data + sizeData; for (const uint8_t* pData = data; pData < pEnd; pData++) { - *(pDma++) = T_SPEED::Convert(((*pData) & 0x0f)); - *(pDma++) = T_SPEED::Convert(((*pData) >> 4) & 0x0f); + *(pDma++) = T_PATTERN::Convert4Step(((*pData) & 0x0f)); + *(pDma++) = T_PATTERN::Convert4Step(((*pData) >> 4) & 0x0f); } } }; -template class NeoEsp8266DmaPixelSpacingEncode : public T_SPEED -{ -public: - static size_t SpacingPixelSize(size_t sizePixel) - { - return sizePixel + T_SPEED::InterPixelTimeUs / T_SPEED::ByteSendTimeUs; - } - - static void FillBuffers(uint8_t* i2sBuffer, - const uint8_t* data, - size_t sizeData, - size_t sizePixel) - { - uint16_t* pDma = (uint16_t*)i2sBuffer; - const uint8_t* pEnd = data + sizeData; - uint8_t element = 0; - for (const uint8_t* pData = data; pData < pEnd; pData++) - { - *(pDma++) = T_SPEED::Convert(((*pData) & 0x0f)); - *(pDma++) = T_SPEED::Convert(((*pData) >> 4) & 0x0f); - - element++; - if (element == sizePixel) - { - element = 0; - - for (uint8_t padding = 0; - padding < (T_SPEED::InterPixelTimeUs / T_SPEED::ByteSendTimeUs); - padding++) - { - *(pDma++) = T_SPEED::IdleLevel * 0xffff; - *(pDma++) = T_SPEED::IdleLevel * 0xffff; - } - } - } - } -}; - -template class NeoEsp8266DmaMethodBase : NeoEsp8266I2sMethodCore +template class NeoEsp8266DmaMethodBase : NeoEsp8266I2sMethodCore { public: typedef NeoNoSettings SettingsObject; @@ -289,15 +189,15 @@ public: _sizePixel(elementSize), _sizeData(pixelCount * elementSize + settingsSize) { - size_t dmaPixelSize = DmaBytesPerPixelBytes * T_ENCODER::SpacingPixelSize(_sizePixel); - size_t dmaSettingsSize = DmaBytesPerPixelBytes * settingsSize; + size_t dmaPixelSize = T_ENCODER::DmaBitsPerPixelBit * T_ENCODER::SpacingPixelSize(_sizePixel); + size_t dmaSettingsSize = T_ENCODER::DmaBitsPerPixelBit * settingsSize; size_t i2sBufferSize = pixelCount * dmaPixelSize + dmaSettingsSize; // size is rounded up to nearest c_I2sByteBoundarySize i2sBufferSize = NeoUtil::RoundUp(i2sBufferSize, c_I2sByteBoundarySize); // calculate a buffer size that takes reset amount of time - size_t i2sResetSize = T_ENCODER::ResetTimeUs * DmaBytesPerPixelBytes / T_ENCODER::ByteSendTimeUs; + size_t i2sResetSize = T_SPEED::ResetTimeUs * T_ENCODER::DmaBitsPerPixelBit / T_SPEED::ByteSendTimeUs(T_SPEED::BitSendTimeNs); // size is rounded up to nearest c_I2sByteBoundarySize i2sResetSize = NeoUtil::RoundUp(i2sResetSize, c_I2sByteBoundarySize); size_t is2BufMaxBlockSize = (c_maxDmaBlockSize / dmaPixelSize) * dmaPixelSize; @@ -325,7 +225,7 @@ public: // wait for any pending sends to complete // due to internal i2s caching/send delays, this can more that once the data size uint32_t time = micros(); - while ((micros() - time) < ((getPixelTime() + T_ENCODER::ResetTimeUs) * waits)) + while ((micros() - time) < ((getPixelTime() + T_SPEED::ResetTimeUs) * waits)) { yield(); } @@ -342,7 +242,15 @@ public: void Initialize() { - InitializeI2s(T_ENCODER::I2sClockDivisor, T_ENCODER::I2sBaseClockDivisor); + uint8_t i2sBaseClockDivisor; + uint8_t i2sClockDivisor; + + FindBestClockDivisors(&i2sClockDivisor, + &i2sBaseClockDivisor, + T_SPEED::BitSendTimeNs, + T_ENCODER::DmaBitsPerPixelBit); + + InitializeI2s(i2sClockDivisor, i2sBaseClockDivisor); } void IRAM_ATTR Update(bool) @@ -378,48 +286,54 @@ public: } private: - // due to encoding required for i2s, we need 4 bytes to encode the pulses - static const uint16_t DmaBytesPerPixelBytes = 4; - const size_t _sizePixel; // size of a pixel in _data const size_t _sizeData; // Size of '_data' buffer uint8_t* _data; // Holds LED color values uint32_t getPixelTime() const { - return (T_ENCODER::ByteSendTimeUs * GetSendSize() / DmaBytesPerPixelBytes); + return (T_SPEED::ByteSendTimeUs(T_SPEED::BitSendTimeNs) * GetSendSize() / T_ENCODER::DmaBitsPerPixelBit); }; }; +#if defined(NPB_CONF_4STEP_CADENCE) +template +using NeoEsp8266I2sCadence = NeoEsp8266Dma4StepEncode; + +#else + +template +using NeoEsp8266I2sCadence = NeoEsp8266Dma3StepEncode; + +#endif // normal -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaWs2812xMethod; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaWs2805Method; +typedef NeoEsp8266DmaMethodBase,NeoBitsSpeedWs2812x> NeoEsp8266DmaWs2812xMethod; +typedef NeoEsp8266DmaMethodBase,NeoBitsSpeedWs2805> NeoEsp8266DmaWs2805Method; typedef NeoEsp8266DmaWs2805Method NeoEsp8266DmaWs2814Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaSk6812Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaTm1814Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaTm1829Method; +typedef NeoEsp8266DmaMethodBase,NeoBitsSpeedSk6812> NeoEsp8266DmaSk6812Method; +typedef NeoEsp8266DmaMethodBase,NeoBitsSpeedTm1814> NeoEsp8266DmaTm1814Method; +typedef NeoEsp8266DmaMethodBase,NeoBitsSpeedTm1829> NeoEsp8266DmaTm1829Method; typedef NeoEsp8266DmaTm1814Method NeoEsp8266DmaTm1914Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266Dma800KbpsMethod; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266Dma400KbpsMethod; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaApa106Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaIntertekMethod; +typedef NeoEsp8266DmaMethodBase,NeoBitsSpeed800Kbps> NeoEsp8266Dma800KbpsMethod; +typedef NeoEsp8266DmaMethodBase,NeoBitsSpeed400Kbps> NeoEsp8266Dma400KbpsMethod; +typedef NeoEsp8266DmaMethodBase,NeoBitsSpeedApa106> NeoEsp8266DmaApa106Method; // inverted -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaInvertedWs2812xMethod; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaInvertedWs2805Method; +typedef NeoEsp8266DmaMethodBase, NeoBitsSpeedWs2812x> NeoEsp8266DmaInvertedWs2812xMethod; +typedef NeoEsp8266DmaMethodBase, NeoBitsSpeedWs2805> NeoEsp8266DmaInvertedWs2805Method; typedef NeoEsp8266DmaInvertedWs2805Method NeoEsp8266DmaInvertedWs2814Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaInvertedSk6812Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaInvertedTm1814Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaInvertedTm1829Method; +typedef NeoEsp8266DmaMethodBase, NeoBitsSpeedSk6812> NeoEsp8266DmaInvertedSk6812Method; +typedef NeoEsp8266DmaMethodBase, NeoBitsSpeedTm1814> NeoEsp8266DmaInvertedTm1814Method; +typedef NeoEsp8266DmaMethodBase, NeoBitsSpeedTm1829> NeoEsp8266DmaInvertedTm1829Method; typedef NeoEsp8266DmaInvertedTm1814Method NeoEsp8266DmaInvertedTm1914Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaInverted800KbpsMethod; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaInverted400KbpsMethod; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaInvertedApa106Method; -typedef NeoEsp8266DmaMethodBase> NeoEsp8266DmaInvertedIntertekMethod; +typedef NeoEsp8266DmaMethodBase, NeoBitsSpeed800Kbps> NeoEsp8266DmaInverted800KbpsMethod; +typedef NeoEsp8266DmaMethodBase, NeoBitsSpeed400Kbps> NeoEsp8266DmaInverted400KbpsMethod; +typedef NeoEsp8266DmaMethodBase, NeoBitsSpeedApa106> NeoEsp8266DmaInvertedApa106Method; + // Dma method is the default method for Esp8266 typedef NeoEsp8266DmaWs2812xMethod NeoWs2813Method; @@ -435,7 +349,6 @@ typedef NeoEsp8266DmaTm1829Method NeoTm1829Method; typedef NeoEsp8266DmaTm1914Method NeoTm1914Method; typedef NeoEsp8266DmaSk6812Method NeoLc8812Method; typedef NeoEsp8266DmaApa106Method NeoApa106Method; -typedef NeoEsp8266DmaIntertekMethod NeoIntertekMethod; typedef NeoEsp8266DmaWs2812xMethod Neo800KbpsMethod; typedef NeoEsp8266Dma400KbpsMethod Neo400KbpsMethod; @@ -454,7 +367,6 @@ typedef NeoEsp8266DmaInvertedTm1829Method NeoTm1829InvertedMethod; typedef NeoEsp8266DmaInvertedTm1914Method NeoTm1914InvertedMethod; typedef NeoEsp8266DmaInvertedSk6812Method NeoLc8812InvertedMethod; typedef NeoEsp8266DmaInvertedApa106Method NeoApa106InvertedMethod; -typedef NeoEsp8266DmaInvertedIntertekMethod NeoInvertedIntertekMethod; typedef NeoEsp8266DmaInvertedWs2812xMethod Neo800KbpsInvertedMethod; typedef NeoEsp8266DmaInverted400KbpsMethod Neo400KbpsInvertedMethod; diff --git a/src/internal/methods/NeoEsp8266I2sDmx512Method.h b/src/internal/methods/NeoEsp8266I2sDmx512Method.h index 531a7de..a98e34d 100644 --- a/src/internal/methods/NeoEsp8266I2sDmx512Method.h +++ b/src/internal/methods/NeoEsp8266I2sDmx512Method.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for Esp8266. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoEsp8266I2sMethodCore.cpp b/src/internal/methods/NeoEsp8266I2sMethodCore.cpp index e47e0bf..9f56db6 100644 --- a/src/internal/methods/NeoEsp8266I2sMethodCore.cpp +++ b/src/internal/methods/NeoEsp8266I2sMethodCore.cpp @@ -4,7 +4,7 @@ NeoPixel library helper functions for Esp8266. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoEsp8266I2sMethodCore.h b/src/internal/methods/NeoEsp8266I2sMethodCore.h index db67126..3d64059 100644 --- a/src/internal/methods/NeoEsp8266I2sMethodCore.h +++ b/src/internal/methods/NeoEsp8266I2sMethodCore.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for Esp8266. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. @@ -207,6 +207,38 @@ protected: item->next_link_ptr = itemNext; } + static void FindBestClockDivisors(uint8_t* i2sClockDivisor, + uint8_t* i2sBaseClockDivisor, + uint32_t nsBitSendTime, + uint32_t i2sBitsPerDataBits) + { + const float nsHz = 1000000000.0f; + const float rate = nsHz / nsBitSendTime * i2sBitsPerDataBits; + const float frequency = static_cast(I2SBASEFREQ); + + // search for the slowest or equal frequency to our needed rate + // + float minDelta = -frequency; + + *i2sBaseClockDivisor = 1; + *i2sClockDivisor = 1; + for (uint8_t bclkDiv = 1; bclkDiv < 64; bclkDiv++) + { + for (uint8_t clkDiv = bclkDiv; clkDiv < 64; clkDiv++) + { + float testDelta = (frequency / bclkDiv / clkDiv) - rate; + + // not the closest, the closet below or equal + if (testDelta <= 0 && testDelta >= minDelta) + { + minDelta = testDelta; + *i2sBaseClockDivisor = bclkDiv; + *i2sClockDivisor = clkDiv; + } + } + } + } + void InitializeI2s(const uint32_t i2sClockDivisor, const uint32_t i2sBaseClockDivisor) { StopI2s(); @@ -357,6 +389,8 @@ protected: pinMode(c_I2sPin, INPUT); } + + }; #endif // ARDUINO_ARCH_ESP8266 \ No newline at end of file diff --git a/src/internal/methods/NeoEsp8266UartMethod.cpp b/src/internal/methods/NeoEsp8266UartMethod.cpp index ee74d47..09213ac 100644 --- a/src/internal/methods/NeoEsp8266UartMethod.cpp +++ b/src/internal/methods/NeoEsp8266UartMethod.cpp @@ -4,7 +4,7 @@ NeoPixel library helper functions for Esp8266 UART hardware Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoEsp8266UartMethod.h b/src/internal/methods/NeoEsp8266UartMethod.h index 76ef790..be3e7a3 100644 --- a/src/internal/methods/NeoEsp8266UartMethod.h +++ b/src/internal/methods/NeoEsp8266UartMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for Esp8266 UART hardware Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. @@ -212,7 +212,7 @@ protected: // // This UART controller uses two buffers that are swapped in every call to // NeoPixelBus.Show(). One buffer contains the data that is being sent -// asynchronosly and another buffer contains the data that will be send +// asynchronously and another buffer contains the data that will be send // in the next call to NeoPixelBus.Show(). // // Therefore, the result of NeoPixelBus.Pixels() is invalidated after @@ -360,7 +360,7 @@ public: const static bool Inverted = true; }; -// NeoEsp8266UartMethodBase is a light shell arround NeoEsp8266Uart or NeoEsp8266AsyncUart that +// NeoEsp8266UartMethodBase is a light shell around NeoEsp8266Uart or NeoEsp8266AsyncUart that // implements the methods needed to operate as a NeoPixelBus method. // // T_SPEED - (NeoEsp8266UartSpeed*) diff --git a/src/internal/methods/NeoEspBitBangMethod.cpp b/src/internal/methods/NeoEspBitBangMethod.cpp index a7304dd..8a7d4d8 100644 --- a/src/internal/methods/NeoEspBitBangMethod.cpp +++ b/src/internal/methods/NeoEspBitBangMethod.cpp @@ -4,7 +4,7 @@ NeoPixel library helper functions for Esp8266 and Esp32 Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoEspBitBangMethod.h b/src/internal/methods/NeoEspBitBangMethod.h index ff61180..6a70e65 100644 --- a/src/internal/methods/NeoEspBitBangMethod.h +++ b/src/internal/methods/NeoEspBitBangMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for Esp8266 and Esp32 Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/NeoNrf52xMethod.h b/src/internal/methods/NeoNrf52xMethod.h index b788e55..82a6ca4 100644 --- a/src/internal/methods/NeoNrf52xMethod.h +++ b/src/internal/methods/NeoNrf52xMethod.h @@ -5,7 +5,7 @@ Nano 33 BLE Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/P9813GenericMethod.h b/src/internal/methods/P9813GenericMethod.h index bd9369d..b014e1e 100644 --- a/src/internal/methods/P9813GenericMethod.h +++ b/src/internal/methods/P9813GenericMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for P9813s using general Pins (APA102). Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/PixieStreamMethod.h b/src/internal/methods/PixieStreamMethod.h index e1d7ddb..3dd5368 100644 --- a/src/internal/methods/PixieStreamMethod.h +++ b/src/internal/methods/PixieStreamMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for DotStars using general Pins (APA102). Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Rp2040/NeoRp2040DmaState.h b/src/internal/methods/Rp2040/NeoRp2040DmaState.h index 2190bfe..cc5c766 100644 --- a/src/internal/methods/Rp2040/NeoRp2040DmaState.h +++ b/src/internal/methods/Rp2040/NeoRp2040DmaState.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for RP2040. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Rp2040/NeoRp2040PioInstance.h b/src/internal/methods/Rp2040/NeoRp2040PioInstance.h index 91f558b..d51323b 100644 --- a/src/internal/methods/Rp2040/NeoRp2040PioInstance.h +++ b/src/internal/methods/Rp2040/NeoRp2040PioInstance.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for RP2040. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Rp2040/NeoRp2040PioMonoProgram.cpp b/src/internal/methods/Rp2040/NeoRp2040PioMonoProgram.cpp index 7f07213..e73e453 100644 --- a/src/internal/methods/Rp2040/NeoRp2040PioMonoProgram.cpp +++ b/src/internal/methods/Rp2040/NeoRp2040PioMonoProgram.cpp @@ -4,7 +4,7 @@ NeoPixel library helper functions for RP2040. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Rp2040/NeoRp2040PioMonoProgram.h b/src/internal/methods/Rp2040/NeoRp2040PioMonoProgram.h index ae08eaa..0abe3b6 100644 --- a/src/internal/methods/Rp2040/NeoRp2040PioMonoProgram.h +++ b/src/internal/methods/Rp2040/NeoRp2040PioMonoProgram.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for RP2040. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Rp2040/NeoRp2040PioSpeed.h b/src/internal/methods/Rp2040/NeoRp2040PioSpeed.h index bb0ac68..9ad02d3 100644 --- a/src/internal/methods/Rp2040/NeoRp2040PioSpeed.h +++ b/src/internal/methods/Rp2040/NeoRp2040PioSpeed.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for RP2040. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Rp2040/NeoRp2040x4Method.h b/src/internal/methods/Rp2040/NeoRp2040x4Method.h index d9059fa..a8ee727 100644 --- a/src/internal/methods/Rp2040/NeoRp2040x4Method.h +++ b/src/internal/methods/Rp2040/NeoRp2040x4Method.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for RP2040. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Sm16716GenericMethod.h b/src/internal/methods/Sm16716GenericMethod.h index 882b9a7..065fb9c 100644 --- a/src/internal/methods/Sm16716GenericMethod.h +++ b/src/internal/methods/Sm16716GenericMethod.h @@ -5,7 +5,7 @@ Written by Michael C. Miller. Contributed by Ivo H (ivoh95) I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Tlc5947GenericMethod.h b/src/internal/methods/Tlc5947GenericMethod.h index 001b388..60aee68 100644 --- a/src/internal/methods/Tlc5947GenericMethod.h +++ b/src/internal/methods/Tlc5947GenericMethod.h @@ -5,7 +5,7 @@ Written by Michael C. Miller. Written by Dennis Kasprzyk. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Tlc59711GenericMethod.h b/src/internal/methods/Tlc59711GenericMethod.h index de2477a..43f9525 100644 --- a/src/internal/methods/Tlc59711GenericMethod.h +++ b/src/internal/methods/Tlc59711GenericMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for Tlc59711 Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/TwoWireBitBangImple.h b/src/internal/methods/TwoWireBitBangImple.h index 1c8627a..a63a6cf 100644 --- a/src/internal/methods/TwoWireBitBangImple.h +++ b/src/internal/methods/TwoWireBitBangImple.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for DotStars using general Pins (APA102/LPD880 Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/TwoWireBitBangImpleAvr.h b/src/internal/methods/TwoWireBitBangImpleAvr.h index e3b9e32..0cbbbbe 100644 --- a/src/internal/methods/TwoWireBitBangImpleAvr.h +++ b/src/internal/methods/TwoWireBitBangImpleAvr.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for DotStars using general Pins (APA102/LPD880 Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/TwoWireDebugImple.h b/src/internal/methods/TwoWireDebugImple.h index ed5c4ec..15f356f 100644 --- a/src/internal/methods/TwoWireDebugImple.h +++ b/src/internal/methods/TwoWireDebugImple.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for DotStars using general Pins (APA102/LPD880 Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/TwoWireHspiImple.h b/src/internal/methods/TwoWireHspiImple.h index 1c774be..9bba87b 100644 --- a/src/internal/methods/TwoWireHspiImple.h +++ b/src/internal/methods/TwoWireHspiImple.h @@ -5,7 +5,7 @@ Written by Michael C. Miller. Minor changes adapting TwoWireSpiImple to support HSPI by Louis Beaudoin (Pixelvation) I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/TwoWireSpiImple.h b/src/internal/methods/TwoWireSpiImple.h index 930fa0f..a153c26 100644 --- a/src/internal/methods/TwoWireSpiImple.h +++ b/src/internal/methods/TwoWireSpiImple.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for DotStars using SPI (APA102/LPD8806). Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/methods/Ws2801GenericMethod.h b/src/internal/methods/Ws2801GenericMethod.h index 33d8da0..ccb69a2 100644 --- a/src/internal/methods/Ws2801GenericMethod.h +++ b/src/internal/methods/Ws2801GenericMethod.h @@ -4,7 +4,7 @@ NeoPixel library helper functions for WS2801 Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/topologies/ColumnMajorAlternatingLayout.h b/src/internal/topologies/ColumnMajorAlternatingLayout.h index ef2da56..af4be90 100644 --- a/src/internal/topologies/ColumnMajorAlternatingLayout.h +++ b/src/internal/topologies/ColumnMajorAlternatingLayout.h @@ -7,7 +7,7 @@ cordinate space to 1d cordinate space Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/topologies/ColumnMajorLayout.h b/src/internal/topologies/ColumnMajorLayout.h index 242fd00..ee6270b 100644 --- a/src/internal/topologies/ColumnMajorLayout.h +++ b/src/internal/topologies/ColumnMajorLayout.h @@ -7,7 +7,7 @@ cordinate space to 1d cordinate space Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/topologies/NeoMosaic.h b/src/internal/topologies/NeoMosaic.h index c42ba0d..a7726ae 100644 --- a/src/internal/topologies/NeoMosaic.h +++ b/src/internal/topologies/NeoMosaic.h @@ -7,7 +7,7 @@ those matricies use the RowMajorAlternating layout Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/topologies/NeoRingTopology.h b/src/internal/topologies/NeoRingTopology.h index 970de02..5c8da1b 100644 --- a/src/internal/topologies/NeoRingTopology.h +++ b/src/internal/topologies/NeoRingTopology.h @@ -7,7 +7,7 @@ the NeoPixelBus. Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/topologies/NeoTiles.h b/src/internal/topologies/NeoTiles.h index d614e4a..8ca008f 100644 --- a/src/internal/topologies/NeoTiles.h +++ b/src/internal/topologies/NeoTiles.h @@ -7,7 +7,7 @@ use another Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/topologies/NeoTopology.h b/src/internal/topologies/NeoTopology.h index 0909764..f051f93 100644 --- a/src/internal/topologies/NeoTopology.h +++ b/src/internal/topologies/NeoTopology.h @@ -5,7 +5,7 @@ It is used to map a matrix of NeoPixels to a index on the NeoPixelBus Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/topologies/RowMajorAlternatingLayout.h b/src/internal/topologies/RowMajorAlternatingLayout.h index 09a23c7..88a8c3b 100644 --- a/src/internal/topologies/RowMajorAlternatingLayout.h +++ b/src/internal/topologies/RowMajorAlternatingLayout.h @@ -7,7 +7,7 @@ cordinate space to 1d cordinate space Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library. diff --git a/src/internal/topologies/RowMajorLayout.h b/src/internal/topologies/RowMajorLayout.h index 90a6f65..302e2fd 100644 --- a/src/internal/topologies/RowMajorLayout.h +++ b/src/internal/topologies/RowMajorLayout.h @@ -7,7 +7,7 @@ cordinate space to 1d cordinate space Written by Michael C. Miller. I invest time and resources providing this open source code, -please support me by dontating (see https://github.com/Makuna/NeoPixelBus) +please support me by donating (see https://github.com/Makuna/NeoPixelBus) ------------------------------------------------------------------------- This file is part of the Makuna/NeoPixelBus library.