<?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[Pytoh code not running after download to device]]></title><description><![CDATA[<p dir="auto">Hi, i'm writing a digital clock using python code. I'm using UIFlow ide to test my project, and when i run it , it works.<br />
But when i download to the device in order to make it run without the ide, it does not work.<br />
These are the first lines:<br />
lcd.clear()</p>
<p dir="auto">lcd.font(lcd.FONT_Default)<br />
lcd.print('v 1.05 06/12/2021',0,0,0xffffff)<br />
wait(1)<br />
try:<br />
buffer = open("/sd/sandra01.jpg").read()<br />
lcd.image_buff(lcd.CENTER, lcd.CENTER, buffer)<br />
wait(3)<br />
except:<br />
pass</p>
<p dir="auto">lcd.clear()</p>
<p dir="auto">the print function is the only one that runs.<br />
Why it's working when executed from the IDE and not when downloaded to the M5 Core?</p>
<p dir="auto">Thanks for your help!!!</p>
]]></description><link>https://community.m5stack.com/topic/3806/pytoh-code-not-running-after-download-to-device</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 05:02:41 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3806.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Dec 2021 10:51:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pytoh code not running after download to device on Tue, 07 Dec 2021 10:09:26 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/junden" aria-label="Profile: Junden">@<bdi>Junden</bdi></a> ，<br />
Can you just print some text with <strong>lcd.print</strong> function test again?</p>
]]></description><link>https://community.m5stack.com/post/15738</link><guid isPermaLink="true">https://community.m5stack.com/post/15738</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Tue, 07 Dec 2021 10:09:26 GMT</pubDate></item></channel></rss>