<?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 new joystick example]]></title><description><![CDATA[<p dir="auto">Is there an example how to connect the new joystick (I assumd i2c only) to esp32? How to access the joystick status? Also, is it delivered with firmware installed?</p>
]]></description><link>https://community.m5stack.com/topic/6774/m5stack-new-joystick-example</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 15:37:41 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6774.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Sep 2024 14:30:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5stack new joystick example on Mon, 09 Sep 2024 08:56:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/128612">@YigalB</a></p>
<p dir="auto">yes, the I2C address is stored in flash. There is no need to repeat that step (changing I2C address) after every power up. It just needs to be done once.</p>
<p dir="auto">Alternatively you can use a PaHub like <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/7508">@teastain</a> suggested.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26396</link><guid isPermaLink="true">https://community.m5stack.com/post/26396</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 09 Sep 2024 08:56:57 GMT</pubDate></item><item><title><![CDATA[Reply to M5stack new joystick example on Mon, 09 Sep 2024 05:33:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/7508">@teastain</a> Yes, using I2C splitter is a practical solution for using I2C devices with same address. I use it often.<br />
Yet the "Write" ability caught my attention, since it is saving the need for the splitter.</p>
<p dir="auto">I will try approaching the customer service.</p>
]]></description><link>https://community.m5stack.com/post/26392</link><guid isPermaLink="true">https://community.m5stack.com/post/26392</guid><dc:creator><![CDATA[YigalB]]></dc:creator><pubDate>Mon, 09 Sep 2024 05:33:02 GMT</pubDate></item><item><title><![CDATA[Reply to M5stack new joystick example on Sat, 07 Sep 2024 21:57:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/128612">@YigalB</a> Two Joysticks would require a PaHub accessory from M5Stack:<br />
<a href="https://shop.m5stack.com/products/i2c-hub-1-to-6-expansion-unit-pca9548apw" target="_blank" rel="noopener noreferrer nofollow ugc">https://shop.m5stack.com/products/i2c-hub-1-to-6-expansion-unit-pca9548apw</a><br />
These work very well, seamlessly.<br />
I don't know how to change the I2C address of the Joystick in this register, sorry.</p>
]]></description><link>https://community.m5stack.com/post/26381</link><guid isPermaLink="true">https://community.m5stack.com/post/26381</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Sat, 07 Sep 2024 21:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to M5stack new joystick example on Sat, 07 Sep 2024 05:13:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/7508">@teastain</a> Thank you! Exactly what I needed to know.</p>
<p dir="auto">Another thing that bothers me: When looking at the I2C protocol in the documentation, it states the "I2C address" is RW (read write).</p>
<ol>
<li>I assume the Write part is in order to change the address - probably in order to include 2 joysticks at same time. Is this command stored on a non volatile memory? Or is it needed to be executed every power up?</li>
<li>if 2 joysticks are connected in parallel, how is it possible to direct the command from the master to a specific one?</li>
</ol>
<p dir="auto">Of course, if the answer to 1 is yes, this can be easily done with step by step.<br />
(or if there are jumpers on board the joystick).</p>
]]></description><link>https://community.m5stack.com/post/26376</link><guid isPermaLink="true">https://community.m5stack.com/post/26376</guid><dc:creator><![CDATA[YigalB]]></dc:creator><pubDate>Sat, 07 Sep 2024 05:13:14 GMT</pubDate></item><item><title><![CDATA[Reply to M5stack new joystick example on Fri, 06 Sep 2024 16:16:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/128612">@YigalB</a> I2C is correct.<br />
Here is the example:<br />
<a href="https://github.com/m5stack/M5Unit-Joystick2/blob/main/examples/get_value/get_value.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Unit-Joystick2/blob/main/examples/get_value/get_value.ino</a><br />
The internal firmware is already installed and like most M5Stack Units it is 'permanent' and does not require your attention but could theoretically be updated in the future.</p>
]]></description><link>https://community.m5stack.com/post/26373</link><guid isPermaLink="true">https://community.m5stack.com/post/26373</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Fri, 06 Sep 2024 16:16:09 GMT</pubDate></item></channel></rss>