<?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[Python development in UIFlow]]></title><description><![CDATA[<p dir="auto">The current UIFlow IDE doesn't actually have any way of saving code written in the "custom edit" mode. This is especially problematic given that the uiflow2 plugin for VSCode, the only other fully-featured IDE with support for for M5Stack mpy, seems to have been abandoned around a year ago.</p>
]]></description><link>https://community.m5stack.com/topic/6992/python-development-in-uiflow</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 07:22:50 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6992.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Nov 2024 00:26:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Python development in UIFlow on Mon, 18 Nov 2024 21:33:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sternj" aria-label="Profile: sternj">@<bdi>sternj</bdi></a> Well, the Arduino IDE ver2 IDE is very good.<br />
Just type in C, C++ and download (it compiles automatically.)<br />
This is NOT your grandad's Arduino IDE ver 1 !!!<br />
Here is a sample program to test serial:</p>
<pre><code>bool ticktock;  //declare ticktock as a boolean flag

void setup() {           //runs once on start up
  Serial.begin(115200);  //open the serial port for USB cable
  delay(500);
}

void loop() {            //runs in circles!
  ticktock = !ticktock;  //every pass through reverse the flag
  if (ticktock) {        //test current value of the ticktock flag
    Serial.println("tick");
  } else {  //prints one or the other to the USB port
    Serial.println("tock");
  }
  delay(1000);  //wait for a second and run again!
}
</code></pre>
]]></description><link>https://community.m5stack.com/post/27090</link><guid isPermaLink="true">https://community.m5stack.com/post/27090</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Mon, 18 Nov 2024 21:33:18 GMT</pubDate></item><item><title><![CDATA[Reply to Python development in UIFlow on Mon, 18 Nov 2024 17:29:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> That's what I'm trying to do! I find the UIFlow2 IDE really convenient for its toolchain integration and would like to be able to use micropython directly in it with first-class support.</p>
]]></description><link>https://community.m5stack.com/post/27088</link><guid isPermaLink="true">https://community.m5stack.com/post/27088</guid><dc:creator><![CDATA[sternj]]></dc:creator><pubDate>Mon, 18 Nov 2024 17:29:16 GMT</pubDate></item><item><title><![CDATA[Reply to Python development in UIFlow on Mon, 18 Nov 2024 17:26:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sternj" aria-label="Profile: sternj">@<bdi>sternj</bdi></a> Hi!<br />
You sound like you are too advanced for drag and drop.<br />
I think you should stick to micropython for its range and flexibility.<br />
Cheers.</p>
]]></description><link>https://community.m5stack.com/post/27087</link><guid isPermaLink="true">https://community.m5stack.com/post/27087</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Mon, 18 Nov 2024 17:26:53 GMT</pubDate></item><item><title><![CDATA[Reply to Python development in UIFlow on Mon, 18 Nov 2024 16:17:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kuriko" aria-label="Profile: kuriko">@<bdi>kuriko</bdi></a> I disagree, the feature is <em>incredibly</em> necessary. I like UIFlow a lot as a framework and I quite like the Python API, but the block programming system is unwieldy for folks who know Python and want to write more expressive programs.</p>
<p dir="auto">(I'm also not a fan of the codegen done by any visual programming engine, but that gripe is more stylistic than substantive)</p>
<p dir="auto">I am reasonable at C++ but I really prefer doing prototyping in Python and I like the drag-and-drop UI of the UIFlow2 IDE. I've just been saving it in a text buffer.</p>
]]></description><link>https://community.m5stack.com/post/27086</link><guid isPermaLink="true">https://community.m5stack.com/post/27086</guid><dc:creator><![CDATA[sternj]]></dc:creator><pubDate>Mon, 18 Nov 2024 16:17:43 GMT</pubDate></item><item><title><![CDATA[Reply to Python development in UIFlow on Mon, 18 Nov 2024 10:32:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sternj" aria-label="Profile: sternj">@<bdi>sternj</bdi></a><br />
Yes... this feature doesn't seem to be very necessary, custom edit is supposed to be used for some kind of debugging.</p>
]]></description><link>https://community.m5stack.com/post/27080</link><guid isPermaLink="true">https://community.m5stack.com/post/27080</guid><dc:creator><![CDATA[kuriko]]></dc:creator><pubDate>Mon, 18 Nov 2024 10:32:03 GMT</pubDate></item></channel></rss>