<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Stamp C nonblocking led script?]]></title><description><![CDATA[<p dir="auto">Hello together,<br />
using my Stamp C but cannot get the button led running without blocking.<br />
anybody can point me to a sample for this?<br />
would be great !</p>
<p dir="auto">Thx &amp; cheers, K.</p>
]]></description><link>https://community.m5stack.com/topic/4454/stamp-c-nonblocking-led-script</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 10:02:33 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4454.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Jul 2022 12:32:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Stamp C nonblocking led script? on Sun, 24 Jul 2022 09:46:32 GMT]]></title><description><![CDATA[<p dir="auto">You can make a new class , create a task to control blink or not, and color, with only one function call in you main code . I have done it, but is on vacation now, so cant share it.</p>
]]></description><link>https://community.m5stack.com/post/18041</link><guid isPermaLink="true">https://community.m5stack.com/post/18041</guid><dc:creator><![CDATA[AgreeDK]]></dc:creator><pubDate>Sun, 24 Jul 2022 09:46:32 GMT</pubDate></item><item><title><![CDATA[Reply to Stamp C nonblocking led script? on Fri, 22 Jul 2022 22:14:22 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/knobsi" aria-label="Profile: Knobsi">@<bdi>Knobsi</bdi></a></p>
<p dir="auto">The RGB LED can use the neopixel Write instruction with Arduino ESP32 Version 2.0.4.</p>
<p dir="auto">Arduino IDE Boards Manager<br />
Arduino ESP32 Version 2.0.4<br />
<a href="https://github.com/espressif/arduino-esp32/releases?fbclid=IwAR19R5_0Y1bW5DiYk4PBp7RAeFKjNrSo9YJZuHXmwNKY-dT7z_fYDKHzSoI" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/espressif/arduino-esp32/releases?fbclid=IwAR19R5_0Y1bW5DiYk4PBp7RAeFKjNrSo9YJZuHXmwNKY-dT7z_fYDKHzSoI</a><br />
Improvements</p>
<ul>
<li>Implemented a simple RGB driver via digitalWrite</li>
<li>Implement simple RGB driver via digitalWrite; solving #6783 by @PilnyTomas in #6808</li>
</ul>
<p dir="auto">:<br />
<a href="https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-rgb-led.h" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-rgb-led.h</a><br />
void neopixelWrite(uint8_t pin, uint8_t red_val, uint8_t green_val, uint8_t blue_val);<br />
:</p>
<p dir="auto">#define LED_PIN  2</p>
<p dir="auto">void setup() {<br />
neopixelWrite(LED_PIN,10,100,200);  // GPIO,R,G,B<br />
}</p>
<p dir="auto">void loop() {<br />
}</p>
]]></description><link>https://community.m5stack.com/post/18034</link><guid isPermaLink="true">https://community.m5stack.com/post/18034</guid><dc:creator><![CDATA[macsbug]]></dc:creator><pubDate>Fri, 22 Jul 2022 22:14:22 GMT</pubDate></item><item><title><![CDATA[Reply to Stamp C nonblocking led script? on Sat, 23 Jul 2022 05:47:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/knobsi" aria-label="Profile: Knobsi">@<bdi>Knobsi</bdi></a></p>
<p dir="auto">here is a simple non-blocking blinking <a href="https://github.com/felmue/MyM5StackExamples/blob/main/M5StampC3/NonBlockingBlink.ino" target="_blank" rel="noopener noreferrer nofollow ugc">example</a> for the M5StampC3.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/18032</link><guid isPermaLink="true">https://community.m5stack.com/post/18032</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 23 Jul 2022 05:47:57 GMT</pubDate></item></channel></rss>