<?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[Stopwatch - Core2- Need help]]></title><description><![CDATA[<p dir="auto">Hello, I am trying to create a stopwatch but cannot figure out why it doesn't work. Here are some pictures: <img src="/assets/uploads/files/1610730860547-ska-rmavbild-2021-01-15-kl.18.12.05-resized.png" alt="0_1610730824290_Skärmavbild 2021-01-15 kl. 18.12.05.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1610730844821-ska-rmavbild-2021-01-15-kl.18.11.45-resized.png" alt="0_1610730830305_Skärmavbild 2021-01-15 kl. 18.11.45.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/topic/2774/stopwatch-core2-need-help</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:31:53 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2774.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 15 Jan 2021 17:28:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Stopwatch - Core2- Need help on Mon, 25 Jan 2021 16:02:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> Thanks, that fixed it</p>
]]></description><link>https://community.m5stack.com/post/11977</link><guid isPermaLink="true">https://community.m5stack.com/post/11977</guid><dc:creator><![CDATA[morrischen]]></dc:creator><pubDate>Mon, 25 Jan 2021 16:02:34 GMT</pubDate></item><item><title><![CDATA[Reply to Stopwatch - Core2- Need help on Tue, 19 Jan 2021 13:14:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi. I wrote something like this. I set the timer to increment the <strong>counter</strong> variable every 0.1s. Button A pauses / resumes timer operation. Button B resets the counter (the <strong>counter</strong> variable). The current counter value is displayed in the main loop of the program, scaled to seconds and hundredths of a second. One value of the counter variable in my case corresponds to 0.1s. You may need to modify the <strong>display_time</strong> function, because in my case (firmware 1.4.5) the <strong>lcd print</strong> function displays the result in the previous place overwriting the previous result. In later firmware the displayed result may overlap the previous one.</p>
<p dir="auto">This is also an incomplete example, so the displayed time may overwrite hundredths of a second after exceeding 99 seconds</p>
<p dir="auto"><img src="/assets/uploads/files/1611061809880-screenshot_20210119-134354-01.jpeg" alt="0_1611061798586_Screenshot_20210119-134354-01.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/11873</link><guid isPermaLink="true">https://community.m5stack.com/post/11873</guid><dc:creator><![CDATA[robalstona]]></dc:creator><pubDate>Tue, 19 Jan 2021 13:14:02 GMT</pubDate></item><item><title><![CDATA[Reply to Stopwatch - Core2- Need help on Mon, 18 Jan 2021 23:05:11 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/morrischen" aria-label="Profile: morrischen">@<bdi>morrischen</bdi></a></p>
<p dir="auto">you are very close. Right now your code only executes once after loading and running it onto your M5Core2. Try putting all your existing code into a <code>loop</code> statement. (You'll find the <code>loop</code> statement in the <code>Event</code> section.)</p>
<p dir="auto">Cheers<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/11865</link><guid isPermaLink="true">https://community.m5stack.com/post/11865</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 18 Jan 2021 23:05:11 GMT</pubDate></item></channel></rss>