<?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[使用UiFlow2进行编程时,如何从代码编程逆向到图形编程]]></title><description><![CDATA[<ul>
<li>首先我使用图形页面进行编程,例如各种硬件初始化;</li>
<li>然后进行了一些简单的代码操作</li>
<li>接下来切换到microPython模式进行代码编程,</li>
<li>程序正常编译,通过并运行</li>
<li>再接下来,我回到图形页面进行一些组件添加工作,例如按钮事件(因为我不知道这个事件在代码里面该怎么写)</li>
<li>然后出现问题了, 写的代码被图形页面生成的代码完全覆盖掉了</li>
</ul>
<p dir="auto">请教下大家,如何让我写的代码逆向回图形页面保持不变?</p>
]]></description><link>https://community.m5stack.com/topic/7457/使用uiflow2进行编程时-如何从代码编程逆向到图形编程</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 02:29:33 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7457.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Mar 2025 16:00:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 使用UiFlow2进行编程时,如何从代码编程逆向到图形编程 on Tue, 01 Apr 2025 04:54:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tt1296116093" aria-label="Profile: tt1296116093">@<bdi>tt1296116093</bdi></a> 这是正常现象，因为您的额外代码不以块的形式存在。<br />
您需要将额外代码放在“执行代码”块中，以使其不会消失。</p>
]]></description><link>https://community.m5stack.com/post/28732</link><guid isPermaLink="true">https://community.m5stack.com/post/28732</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 01 Apr 2025 04:54:34 GMT</pubDate></item></channel></rss>