<?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[Glass2]]></title><description><![CDATA[<p dir="auto">Hi All</p>
<p dir="auto">I've got a Glass2 unit attached to a Atom Lite via a grove cable. I can't find any documentation around how to access it. In UIFLOW2, I've found a init block that gives this code</p>
<pre><code>def setup():
  global i2c0, glass2_0

  M5.begin()
  i2c0 = I2C(0, scl=Pin(32), sda=Pin(26), freq=100000)
  glass2_0 = M5.addDisplay(i2c0, 0x3c, {"unit_glass2":True})
</code></pre>
<p dir="auto">But I can't se how to access the glass to write text. Has anyone managed to do this?</p>
<p dir="auto">Thanks</p>
<p dir="auto">Tony</p>
]]></description><link>https://community.m5stack.com/topic/6643/glass2</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 05:35:08 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6643.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Jul 2024 15:59:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Glass2 on Fri, 19 Jul 2024 10:00:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robski" aria-label="Profile: robski">@<bdi>robski</bdi></a> Thanks</p>
<p dir="auto">I was looking on the GLASS2 page and there are no UIFLOW examples on there. I have come to the conclusion that GLASS2 is not fully implemented in UIFLOW2 as when I went back to UIFLOW1 there is a whole load of methods exposed on there. I may just have to learn a bit more about I2C and code via the Arduino IDE</p>
<p dir="auto">Tony</p>
]]></description><link>https://community.m5stack.com/post/25888</link><guid isPermaLink="true">https://community.m5stack.com/post/25888</guid><dc:creator><![CDATA[tonyd]]></dc:creator><pubDate>Fri, 19 Jul 2024 10:00:22 GMT</pubDate></item><item><title><![CDATA[Reply to Glass2 on Fri, 19 Jul 2024 08:26:02 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://docs.m5stack.com/en/unit/Glass%20Unit?id=protocol" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/en/unit/Glass Unit?id=protocol</a></p>
]]></description><link>https://community.m5stack.com/post/25887</link><guid isPermaLink="true">https://community.m5stack.com/post/25887</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Fri, 19 Jul 2024 08:26:02 GMT</pubDate></item></channel></rss>