Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/pixeltypes.h10
-rw-r--r--src/platforms/arm/mxrt1062/block_clockless_arm_mxrt1062.h2
-rw-r--r--src/platforms/esp/32/clockless_i2s_esp32.h2
4 files changed, 14 insertions, 2 deletions
diff --git a/README.md b/README.md
index 831baea1..58e7e500 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ How quickly can you get up and running with the library? Here's a simple blink
## Supported LED chipsets
-Here's a list of all the LED chipsets are supported. More details on the led chipsets are included *TODO: Link to wiki page*
+Here's a list of all the LED chipsets are supported. More details on the led chipsets are included [on our wiki page](https://github.com/FastLED/FastLED/wiki/Chipset-reference)
* Adafruit's DotStars - AKA the APA102
* Adafruit's Neopixel - aka the WS2812B (also WS2811/WS2812/WS2813, also supported in lo-speed mode) - a 3 wire addressable led chipset
diff --git a/src/pixeltypes.h b/src/pixeltypes.h
index 6e91723d..f28c2c67 100644
--- a/src/pixeltypes.h
+++ b/src/pixeltypes.h
@@ -353,6 +353,14 @@ struct CRGB {
}
/// return a CRGB object that is a scaled down version of this object
+ inline CRGB scale8 (uint8_t scaledown ) const
+ {
+ CRGB out = *this;
+ nscale8x3( out.r, out.g, out.b, scaledown);
+ return out;
+ }
+
+ /// return a CRGB object that is a scaled down version of this object
inline CRGB scale8 (const CRGB & scaledown ) const
{
CRGB out;
@@ -412,7 +420,7 @@ struct CRGB {
}
/// invert each channel
- inline CRGB operator- ()
+ inline CRGB operator- () const
{
CRGB retval;
retval.r = 255 - r;
diff --git a/src/platforms/arm/mxrt1062/block_clockless_arm_mxrt1062.h b/src/platforms/arm/mxrt1062/block_clockless_arm_mxrt1062.h
index a7bcddf0..efc875bc 100644
--- a/src/platforms/arm/mxrt1062/block_clockless_arm_mxrt1062.h
+++ b/src/platforms/arm/mxrt1062/block_clockless_arm_mxrt1062.h
@@ -17,6 +17,7 @@ class FlexibleInlineBlockClocklessController : public CPixelLEDController<RGB_OR
uint32_t m_nWriteMask;
uint8_t m_nOutBlocks;
uint32_t m_offsets[3];
+ uint32_t MS_COUNTER;
CMinWait<WAIT_TIME> mWait;
public:
@@ -40,6 +41,7 @@ public:
m_nLowBit = 33;
m_nHighBit = 0;
m_nWriteMask = 0;
+ MS_COUNTER = 0;
// setup the bits and data tracking for parallel output
switch(FIRST_PIN) {
diff --git a/src/platforms/esp/32/clockless_i2s_esp32.h b/src/platforms/esp/32/clockless_i2s_esp32.h
index 5c7979cf..6306ccd2 100644
--- a/src/platforms/esp/32/clockless_i2s_esp32.h
+++ b/src/platforms/esp/32/clockless_i2s_esp32.h
@@ -86,7 +86,9 @@
#pragma once
+#ifndef FASTLED_INTERNAL
#pragma message "NOTE: ESP32 support using I2S parallel driver. All strips must use the same chipset"
+#endif
FASTLED_NAMESPACE_BEGIN