<?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[Atom LED and serial port (not USB) on Atom Switch Kit with M5Unified]]></title><description><![CDATA[<p dir="auto">I don't know where to find good documentation on the M5Unified Arduino code to find what function calls are needed.  I have an <a href="https://docs.m5stack.com/en/atom/atomhub_switch" target="_blank" rel="noopener noreferrer nofollow ugc">atom switch kit</a>.  I am trying to write code with the new M5Unified but I don't know how to set the LED color.  The sample code I have is this <a href="https://github.com/m5stack/M5-ProductExampleCodes/blob/master/AtomBase/AtomHubSwitch/AtomHubSwitch/AtomHubSwitch.ino" target="_blank" rel="noopener noreferrer nofollow ugc">sample code</a> but the LED code does not work in M5Unified.</p>
<p dir="auto">Does the Atom serial port connected to the RS485 chip in the Atom Switch Kit and other Atom RS485 boards have a FIFO or is it all software bit banged on the Atom Lite (RX G33 &amp; TX G23) and AtomS3 (RX G8 &amp; TX G7)?</p>
]]></description><link>https://community.m5stack.com/topic/6098/atom-led-and-serial-port-not-usb-on-atom-switch-kit-with-m5unified</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 17:15:48 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6098.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Feb 2024 01:00:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Atom LED and serial port (not USB) on Atom Switch Kit with M5Unified on Sat, 17 Feb 2024 11:24:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/lukes" aria-label="Profile: LukeS">@<bdi>LukeS</bdi></a></p>
<p dir="auto">I don't think the RGB LED has been integrated into M5Unified library for M5AtomLite. Even for M5AtomS3 the code for the RGB LED is kind of outside M5Unified library, e.g. in <code>utility/LedDisplay.c</code>.</p>
<p dir="auto">All I can find in M5Unified is the <a href="https://github.com/m5stack/M5Unified/blob/master/src/M5Unified.cpp#L139" target="_blank" rel="noopener noreferrer nofollow ugc">GPIO definition</a> for the RGB LED for different M5Stack devices. However I don't think they are used.</p>
<p dir="auto">For M5AtomLite the RGB LED GPIO is (re-)defined and used from <a href="https://github.com/m5stack/M5Atom/blob/master/src/utility/LED_DisPlay.h#L10" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">And for M5AtomS3 it is (re-)defined and used from <a href="https://github.com/m5stack/M5AtomS3/blob/main/src/utility/LedDisplay.h#L8" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/23860</link><guid isPermaLink="true">https://community.m5stack.com/post/23860</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 17 Feb 2024 11:24:36 GMT</pubDate></item></channel></rss>