<?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[Neopixel connected to EXT.IO2 problem]]></title><description><![CDATA[<p dir="auto">Hello, my first post here. I am trying to use a Neopixel strand connected to an Ext.I/O2 module (connected to M5StickC2). I can see that I have a Neopixel option for port usage, but no way to write to them. This is a bit of code that let me just light the first pixel:</p>
<pre><code>import os, sys, io
import M5
from M5 import *
from hardware import *
from unit import EXTIO2Unit



i2c0 = None
extio2_0 = None
rgb_0 = None


def setup():
  global i2c0, extio2_0, rgb_0

  M5.begin()
  i2c0 = I2C(0, scl=Pin(33), sda=Pin(32), freq=100000)
  extio2_0 = EXTIO2Unit(i2c0)
  extio2_0.set_config_mode(0, 4)


def loop():
  global i2c0, extio2_0, rgb_0
  M5.update()
  extio2_0.write_rgb_led(0, 0xff0a14)
</code></pre>
<p dir="auto">Any idea to for further ? Thanks,</p>
]]></description><link>https://community.m5stack.com/topic/7086/neopixel-connected-to-ext-io2-problem</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 08:34:58 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7086.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Dec 2024 18:52:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Neopixel connected to EXT.IO2 problem on Fri, 13 Dec 2024 20:46:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/marc-skil" aria-label="Profile: Marc-SKIL">@<bdi>Marc-SKIL</bdi></a></p>
<p dir="auto">unit EXT.IO2 can only control one (1) RGB LED per output. So what you get is correct. Have a look at the protocol <a href="https://docs.m5stack.com/en/unit/extio2?id=protocol" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/27453</link><guid isPermaLink="true">https://community.m5stack.com/post/27453</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 13 Dec 2024 20:46:20 GMT</pubDate></item></channel></rss>