<?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[M5 Stamp S3 (or M5Dial): Input from console]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I would like to start a few debug commands via the console. To do this I have to read the first serial port and not block the program.</p>
<p dir="auto">The following command does not block, but nothing is read in and the error message "Multiple decode errors occurred: Try checking the baud rate and XTAL frequency setting in menuconfig" appears.</p>
<pre><code>setvbuf(stdin, NULL, _IONBF, 0);
c = fgetc(stdin);
</code></pre>
<p dir="auto">I use ESP-IDF 5.1 and the the "M5Dial-UserDemo" as base.</p>
]]></description><link>https://community.m5stack.com/topic/6360/m5-stamp-s3-or-m5dial-input-from-console</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 23:11:36 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6360.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Apr 2024 14:46:47 GMT</pubDate><ttl>60</ttl></channel></rss>