<?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[Serial not working with M5Unified on AtomS3]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am using M5Unified on my AtomS3 but can't get <code>Serial.println("hello")</code> to show up on the host. I configured the baud rate correctly and things worked on a previous project without M5Unified on an AtomLite. I guess I am missing something obvious here.</p>
<p dir="auto">Any help welcomed.</p>
<p dir="auto">Marc</p>
]]></description><link>https://community.m5stack.com/topic/5858/serial-not-working-with-m5unified-on-atoms3</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:54:35 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5858.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Dec 2023 18:40:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Serial not working with M5Unified on AtomS3 on Sat, 02 Dec 2023 10:25:13 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> for the hint with USB CDC on Boot!</p>
<p dir="auto">I forgot to mention that I am on PlatformIO but the snippet shown below added to the platform.ini file helped me to solve the problem. Previously I didn't had to specify any build_flags to see the Serial output, so maybe this is a change introduced by PlatformIO.</p>
<pre><code>monitor_speed = 115200
build_flags = 
	-D ARDUINO_USB_MODE=1
	-D ARDUINO_USB_CDC_ON_BOOT=1
</code></pre>
<p dir="auto">Best<br />
Marc</p>
]]></description><link>https://community.m5stack.com/post/22940</link><guid isPermaLink="true">https://community.m5stack.com/post/22940</guid><dc:creator><![CDATA[frameworklabs]]></dc:creator><pubDate>Sat, 02 Dec 2023 10:25:13 GMT</pubDate></item><item><title><![CDATA[Reply to Serial not working with M5Unified on AtomS3 on Fri, 01 Dec 2023 22:15:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frameworklabs" aria-label="Profile: frameworklabs">@<bdi>frameworklabs</bdi></a> This worked for me with my cute AtomS3!</p>
<pre><code>#include &lt;M5Unified.h&gt;

void setup() {
  M5.begin();
  Serial.begin(115200);
  M5.Lcd.fillScreen(BLACK);
  delay(100);
}

void loop() {
  Serial.println("loop");
  M5.update();
  M5.Lcd.setTextColor(RED);
  M5.Lcd.setTextSize(2);
  M5.Lcd.setCursor(25, 15);
  M5.Lcd.print("RED");
  M5.Lcd.setTextColor(BLUE);
  M5.Lcd.setTextSize(2);
  M5.Lcd.setCursor(18, 50);
  M5.Lcd.print("BLUE");
  M5.Lcd.setTextColor(GREEN);
  M5.Lcd.setTextSize(2);
  M5.Lcd.setCursor(15, 90);
  M5.Lcd.print("GREEN");
  delay(100);
}
</code></pre>
<p dir="auto">But with Tools setting: USB CDC on Boot 'enabled'<br />
-Terry</p>
]]></description><link>https://community.m5stack.com/post/22939</link><guid isPermaLink="true">https://community.m5stack.com/post/22939</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Fri, 01 Dec 2023 22:15:54 GMT</pubDate></item></channel></rss>