<?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[help, how to drive LED band &amp; neohex with m5stick]]></title><description><![CDATA[<p dir="auto">i've connect to a led band with grove connector(the default GPIO32 for m5stick). i tried following code but nothing happend...</p>
<p dir="auto">from m5stack import *<br />
import time<br />
from machine import Pin<br />
from neopixel import NeoPixel</p>
<p dir="auto">lcd.clear(lcd.WHITE)<br />
lcd.text(lcd.CENTER, lcd.CENTER, "I'm Phelix", lcd.BLACK)</p>
<p dir="auto">pin = Pin(32, Pin.OUT)<br />
np = NeoPixel(pin, 15)<br />
for i in range(15):<br />
np[i] = (255,255,255)<br />
np.write()</p>
<p dir="auto">can someone please help me?</p>
]]></description><link>https://community.m5stack.com/topic/4373/help-how-to-drive-led-band-neohex-with-m5stick</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 22:37:10 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4373.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Jun 2022 18:09:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to help, how to drive LED band &amp; neohex with m5stick on Sun, 19 Jun 2022 15:52:59 GMT]]></title><description><![CDATA[<p dir="auto">The Neohex has 37 RGB LEDS and the headband has 118 RGB LEDs.<br />
the range should be set to 155 as there are now 155 LEDs connected together.<br />
They should also be connected as below<br />
<img src="/assets/uploads/files/1655653784137-hex_cat-resized.png" alt="0_1655653766803_hex_cat.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">However, this many LED's will cause power issues and you will need to build a power booster cable as shown in this guide.</p>
<p dir="auto"><a href="https://youtu.be/7MP_eG3U2So" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/7MP_eG3U2So</a></p>
]]></description><link>https://community.m5stack.com/post/17754</link><guid isPermaLink="true">https://community.m5stack.com/post/17754</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 19 Jun 2022 15:52:59 GMT</pubDate></item><item><title><![CDATA[Reply to help, how to drive LED band &amp; neohex with m5stick on Sun, 19 Jun 2022 10:20:39 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/pracio" aria-label="Profile: pracio">@<bdi>pracio</bdi></a></p>
<p dir="auto">use <code>RGB LED</code> unit in UIFlow which result in this Python code:</p>
<pre><code>from m5stack import *
from m5ui import *
from uiflow import *
import unit

setScreenColor(0x111111)
neopixel_1 = unit.get(unit.NEOPIXEL, unit.PORTA, 10)
neopixel_1.setColor(1, 0xff0000)
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17753</link><guid isPermaLink="true">https://community.m5stack.com/post/17753</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 19 Jun 2022 10:20:39 GMT</pubDate></item></channel></rss>