<?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[M5Stack Core2 function definitions &amp; arguments]]></title><description><![CDATA[<p dir="auto">I'm trying to figure out how to used the M5Stack, Core2 and using the Examples.  I'm trying to write some code to generate some on-screen buttons and found the "events_buttons_gestures_rotation" sample script.</p>
<p dir="auto">OK, it works, but it doesn't explain some of the details that I need.  For example there is a code line:</p>
<p dir="auto">Button tl(0, 0, 0, 0, false ,"top-left", off_clrs, on_clrs, TL_DATUM);</p>
<p dir="auto">I'm assuming that the "0,0,0,0" is the coordinates (but what order???).  But what is the binary "false" arg, etc...<br />
But I can't find any document that explains what all of the function arguments are.<br />
<strong>This is not only for this function, but all of the other functions in the library</strong>.</p>
<p dir="auto">I went to the <a href="https://github.com/m5stack/M5Core2" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Core2</a> which is the download for the library and found the Keywords.txt which lists all of the functions, but none of the definitions.</p>
<p dir="auto">Where can I find the definitions for the various function arguments?</p>
<p dir="auto">Sir Michael</p>
]]></description><link>https://community.m5stack.com/topic/4972/m5stack-core2-function-definitions-arguments</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 22:51:44 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4972.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Jan 2023 00:16:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Stack Core2 function definitions &amp; arguments on Thu, 12 Jan 2023 09:45:55 GMT]]></title><description><![CDATA[<p dir="auto">I think it’s Xpos, Ypos, width, height</p>
]]></description><link>https://community.m5stack.com/post/19838</link><guid isPermaLink="true">https://community.m5stack.com/post/19838</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 12 Jan 2023 09:45:55 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Core2 function definitions &amp; arguments on Thu, 12 Jan 2023 08:47:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/18487">@SirMichael</a></p>
<p dir="auto">I think most is described <a href="https://github.com/m5stack/M5Core2/blob/master/src/utility/M5Button.h" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19833</link><guid isPermaLink="true">https://community.m5stack.com/post/19833</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 12 Jan 2023 08:47:20 GMT</pubDate></item></channel></rss>