<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									About Theatre Chase effect on LED strip with WS2812b - Arduino				            </title>
            <link>https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/</link>
            <description>Tweaking4All.com Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 21 Jul 2026 01:39:42 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: About Theatre Chase effect on LED strip with WS2812b</title>
                        <link>https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3613</link>
                        <pubDate>Tue, 15 Jun 2021 19:13:26 +0000</pubDate>
                        <description><![CDATA[It is always best to power the LED strip separate from your controller ... 😊 (they do need to share GND though)]]></description>
                        <content:encoded><![CDATA[<p>It is always best to power the LED strip separate from your controller ... 😊 <br />(they do need to share GND though)</p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/arduino/">Arduino</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3613</guid>
                    </item>
				                    <item>
                        <title>RE: About Theatre Chase effect on LED strip with WS2812b</title>
                        <link>https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3612</link>
                        <pubDate>Tue, 15 Jun 2021 14:35:14 +0000</pubDate>
                        <description><![CDATA[Hi Hans,
Yes. I implement the LED effect on RTOS with MCU(for example, ESP32...etc.), not Arduino platform. I used SPI interface of MCU and ws2812b specification to control the LED strip. ...]]></description>
                        <content:encoded><![CDATA[<p>Hi Hans,</p>
<p>Yes. I implement the LED effect on RTOS with MCU(for example, ESP32...etc.), not Arduino platform. I used SPI interface of MCU and ws2812b specification to control the LED strip. </p>
<p>BTW, most of the effects on your website, I can implement except for theater chase, so thanks again for providing amazing effect for reference.</p>
<p>I found the output voltage of the MCU is too low for LED strip, I will debug the hardware issue first, then check the effect issue.</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/arduino/">Arduino</category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3612</guid>
                    </item>
				                    <item>
                        <title>RE: About Theatre Chase effect on LED strip with WS2812b</title>
                        <link>https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3609</link>
                        <pubDate>Mon, 14 Jun 2021 09:09:49 +0000</pubDate>
                        <description><![CDATA[Hi ...
ehm, I&#039;m pretty this is not the entire sketch ... I&#039;m missing a lot of details here ...Again; without seeing the entire sketch, I cannot see what may or may not be going wrong ... 🤷🏻...]]></description>
                        <content:encoded><![CDATA[<p>Hi ...</p>
<p>ehm, I'm pretty this is not the entire sketch ... I'm missing a lot of details here ...<br />Again; without seeing the entire sketch, I cannot see what may or may not be going wrong ... 🤷🏻‍♂️</p>
<p>I guess the issue here is that you're not working with regular Arduino code, and instead are working with <a href="https://en.wikipedia.org/wiki/FreeRTOS" target="true">RTOS</a> (I have no experience with RTOS).<br />Maybe this is related to whatever library is controlling your LED strips, and how it is implemented under RTOS?</p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/arduino/">Arduino</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3609</guid>
                    </item>
				                    <item>
                        <title>RE: About Theatre Chase effect on LED strip with WS2812b</title>
                        <link>https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3608</link>
                        <pubDate>Sun, 13 Jun 2021 14:42:54 +0000</pubDate>
                        <description><![CDATA[Hi,
 
The osDelay is delay function in free RTOS, the same as Arduino.
The entire sketch is as follows:
 
typedef struct{uint8_t B;uint8_t R;uint8_t G;} led_pixel_t;
led_pixel_t g_colo...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p> </p>
<p>The osDelay is delay function in free RTOS, the same as Arduino.</p>
<p>The <span>entire sketch is as follows:</span></p>
<p> </p>
<p>typedef struct<br />{<br />uint8_t B;<br />uint8_t R;<br />uint8_t G;<br />} led_pixel_t;</p>
<p>led_pixel_t g_colors={0};<br /><br /></p>
<p>void setPixel(int Pixel, uint8_t red, uint8_t green, uint8_t blue) {<br />g_colors.R = red;<br />g_colors.G = green;<br />g_colors.B = blue;<br />}</p>
<p>void Light_Style_Curtain(void *data, int len)<br />{<br />light_style_color_curtain *tData = (light_style_color_curtain*)(data);<br /><br />for(int i = 0; i &lt; tData-&gt;u8RgbColorNum; i++ ) <br />{</p>
<p>theaterChase(tData-&gt;u8aColorRgb.red, tData-&gt;u8aColorRgb.green, tData-&gt;u8aColorRgb.blue, tData-&gt;u8ColorSpeed);<br />} <br /><br />}</p>
<p> </p>
<pre contenteditable="false">void theaterChase(uint8_t red, uint8_t green, uint8_t blue, int SpeedDelay) {
  for (int j = 0; j &lt; 10; j++) { //do 10 cycles of chasing
    for (int q = 0; q &lt; 3; q++) {
      for (int i = 0; i &lt; LED_FRAME_SIZE; i = i + 3) {
        setPixel(i + q, red, green, blue); //turn every third pixel on
      }
      showStrip();

      osDelay(SpeedDelay);

      for (int i = 0; i &lt; LED_FRAME_SIZE; i = i + 3) {
        setPixel(i + q, 0, 0, 0); //turn every third pixel off
      }
    }
  }
}</pre>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/arduino/">Arduino</category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3608</guid>
                    </item>
				                    <item>
                        <title>RE: About Theatre Chase effect on LED strip with WS2812b</title>
                        <link>https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3606</link>
                        <pubDate>Sun, 13 Jun 2021 10:45:45 +0000</pubDate>
                        <description><![CDATA[Can you post the entire sketch?The code you posted should not display the strobe effect at all?I&#039;m also not familiar with the &quot;osDelay&quot; function?]]></description>
                        <content:encoded><![CDATA[<p>Can you post the entire sketch?<br />The code you posted should not display the strobe effect at all?<br />I'm also not familiar with the "<strong>osDelay</strong>" function?</p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/arduino/">Arduino</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3606</guid>
                    </item>
				                    <item>
                        <title>About Theatre Chase effect on LED strip with WS2812b</title>
                        <link>https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3605</link>
                        <pubDate>Sat, 12 Jun 2021 15:38:19 +0000</pubDate>
                        <description><![CDATA[Hi,
I imitate theatre chase sample code in the website on my LED strip, but the effect of my The light strip becomes a stroboscopic effect instead of Theatre Chase effect.
my code is as fo...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>I imitate theatre chase sample code in the website on my LED strip, but the effect of my The light strip becomes a stroboscopic effect instead of Theatre Chase effect.</p>
<p>my code is as follows:</p>
<pre contenteditable="false">void theaterChase(uint8_t red, uint8_t green, uint8_t blue, int SpeedDelay) {
  for (int j = 0; j &lt; 10; j++) { //do 10 cycles of chasing
    for (int q = 0; q &lt; 3; q++) {
      for (int i = 0; i &lt; LED_FRAME_SIZE; i = i + 3) {
        setPixel(i + q, red, green, blue); //turn every third pixel on
      }
      showStrip();

      osDelay(SpeedDelay);

      for (int i = 0; i &lt; LED_FRAME_SIZE; i = i + 3) {
        setPixel(i + q, 0, 0, 0); //turn every third pixel off
      }
    }
  }
}</pre>
<p>the LED_FRAME_SIZE is all LEDs in my LED strip.</p>
<p>I also upload my LED strip video on youtube.<span> </span><a class="fancybox-youtube" href="https://www.youtube.com/watch?v=KWtwIEMgigA" rel="nofollow">(22) LED strip effect demo - YouTube</a></p>
<p>Please guide me what's wrong on my code.</p>
<p>Thanks.</p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/arduino/">Arduino</category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/arduino/about-theatre-chase-effect-on-led-strip-with-ws2812b/#post-3605</guid>
                    </item>
							        </channel>
        </rss>
		