<?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[RGB Neopixel Stripe]]></title><description><![CDATA[<p dir="auto">in UIFlow 2 i get for RGB<br />
rgb_0 = RGBUnit((1, 2), 60)<br />
Why 2 Pins? normaly Neopixel uses 1 Output Pin<br />
if i switch to custom setup , UIFlow will also ask for Input and Output<br />
How can i generate<br />
rgb_0 = RGBUnit(2, 60) (output on port B; G2 ) no Input Pin<br />
I need G1 Port for a other Input<br />
Or can i use the normal Micropython Neopixel port?<br />
n = neopixel.NeoPixel(pin, 60)</p>
]]></description><link>https://community.m5stack.com/topic/6343/rgb-neopixel-stripe</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 11:01:19 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6343.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Apr 2024 06:48:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RGB Neopixel Stripe on Wed, 17 Apr 2024 12:52:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/taunushexe" aria-label="Profile: taunushexe">@<bdi>taunushexe</bdi></a></p>
<p dir="auto">as <a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> mentioned only one GPIO (the second one) is used for the RGB unit. So the other GPIO can still be used as input. I created an example which uses GPIO1 as input to control the color of the three RGB LEDs in the RGB unit.</p>
<p dir="auto">See UIFlow2 Project Zone : <em>M5Dial_RGBUnit_GPIO1_as_input_UIFlow2.0.4</em></p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24845</link><guid isPermaLink="true">https://community.m5stack.com/post/24845</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 17 Apr 2024 12:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to RGB Neopixel Stripe on Wed, 17 Apr 2024 10:12:42 GMT]]></title><description><![CDATA[<p dir="auto">It because the RGB is a subclass of unit which is the top level class for controlling all units. Just set both numbers to the same pin</p>
]]></description><link>https://community.m5stack.com/post/24840</link><guid isPermaLink="true">https://community.m5stack.com/post/24840</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 17 Apr 2024 10:12:42 GMT</pubDate></item></channel></rss>