<?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[touch stopped working]]></title><description><![CDATA[<p dir="auto">Bought the AWS version. Initially the touch function worked.<br />
It no longer works for ANY mode. Arduino, core2 tests, etc.<br />
Programs appear to load OK.<br />
Bit no touch.<br />
Should I return it to Amazon?</p>
<p dir="auto">Bo W4GHV</p>
]]></description><link>https://community.m5stack.com/topic/4219/touch-stopped-working</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 21:04:28 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4219.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Apr 2022 03:28:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to touch stopped working on Mon, 24 Oct 2022 09:52:19 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/codegrue" aria-label="Profile: CodeGrue">@<bdi>CodeGrue</bdi></a></p>
<p dir="auto">thank you for letting the community know.</p>
<p dir="auto">I've checked the touch firmware version (w/o actually updating it) of two of my M5Core2s and both report fw v0.0.0.</p>
<p dir="auto">Do you remember if the touch firmware update actually ran through successfully? I wonder if maybe the firmware isn't broken, but the update process failed.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19091</link><guid isPermaLink="true">https://community.m5stack.com/post/19091</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 24 Oct 2022 09:52:19 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Mon, 24 Oct 2022 01:44:51 GMT]]></title><description><![CDATA[<p dir="auto">I had the same thing happen with the AWS version. Touch was working initially with the Core2_For_AWS firmware. However, I burned the Core2_Tools firmware. When this booted it said "Updating touch firmware" and then the screen was unresponsive with any other firmware burns. Somehow this disabled the touch capability. I tested this on two AWS units and it happened to both.</p>
<p dir="auto">I feel like it may be a screen calibration issue. There is this note from this page (<a href="https://shop.m5stack.com/products/m5stack-core2-esp32-iot-development-kit-for-aws-iot-edukit" target="_blank" rel="noopener noreferrer nofollow ugc">https://shop.m5stack.com/products/m5stack-core2-esp32-iot-development-kit-for-aws-iot-edukit</a>):</p>
<p dir="auto">"Some of the screen edges will have touch non-linearity problem, you can try to use M5Tool to upgrade the screen firmware to solve this problem."</p>
<p dir="auto">And looking at the source code for the referenced M5Tool, it appears it performs a procedure to update the touch firmware to version 17. This may actually be a downgrade for the AWS unit, maybe not, but in any case I'm pretty sure this broke it.</p>
<p dir="auto">-- void ft6336_fw_updater(void); // M5Core2 TouchPanel updater</p>
<p dir="auto">I logged an issue with the M5Tool github project. Looking at the history this is not the first time this firmware update broke one of the models.</p>
]]></description><link>https://community.m5stack.com/post/19088</link><guid isPermaLink="true">https://community.m5stack.com/post/19088</guid><dc:creator><![CDATA[CodeGrue]]></dc:creator><pubDate>Mon, 24 Oct 2022 01:44:51 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Sun, 08 May 2022 07:32: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> no problem. thanks for your help and time :)</p>
]]></description><link>https://community.m5stack.com/post/17446</link><guid isPermaLink="true">https://community.m5stack.com/post/17446</guid><dc:creator><![CDATA[albertlt]]></dc:creator><pubDate>Sun, 08 May 2022 07:32:34 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Fri, 06 May 2022 16:53:12 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/albertlt" aria-label="Profile: albertlt">@<bdi>albertlt</bdi></a></p>
<p dir="auto">sorry, I cannot help you with that. I am not very well versed about how to use classes.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17431</link><guid isPermaLink="true">https://community.m5stack.com/post/17431</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 06 May 2022 16:53:12 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Fri, 06 May 2022 09:35:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>. I have a quick question. I tried to encapsulate the GUI function in a class named M5GUI. I moved the tapEvent into M5GUI.h as follow:</p>
<pre><code>private:
    void tapEvent(Event&amp; e);
</code></pre>
<p dir="auto">Then in M5GUI.cpp:</p>
<pre><code>void M5GUI::begin(){
  M5.Buttons.addHandler(tapEvent, E_RELEASE);
}

void M5GUI::tapEvent(Event&amp; e){
  Serial.print("Button: ");
  Serial.println(e.objName());
}
</code></pre>
<p dir="auto">The M5.Buttons.addHandler(tapEvent, E_RELEASE); is giving me this error:</p>
<p dir="auto">argument of type "void (M5GUI::<em>)(Event &amp;e)" is incompatible with parameter of type "void (</em>)(Event &amp;)"</p>
<p dir="auto">How do I integrate that event handler function properly into class method?</p>
]]></description><link>https://community.m5stack.com/post/17424</link><guid isPermaLink="true">https://community.m5stack.com/post/17424</guid><dc:creator><![CDATA[albertlt]]></dc:creator><pubDate>Fri, 06 May 2022 09:35:49 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 19:34:07 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> okay will do. thanks a lot felmue for your help. have a nice day</p>
]]></description><link>https://community.m5stack.com/post/17420</link><guid isPermaLink="true">https://community.m5stack.com/post/17420</guid><dc:creator><![CDATA[albertlt]]></dc:creator><pubDate>Thu, 05 May 2022 19:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 16:16:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/w4ghv" aria-label="Profile: W4GHV">@<bdi>W4GHV</bdi></a></p>
<p dir="auto">ok, I hope you have better luck with the non-AWS version.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17419</link><guid isPermaLink="true">https://community.m5stack.com/post/17419</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 05 May 2022 16:16:09 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 15:58:42 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>.  The easy loader app loads the AWS firmware. And that doesn't help the touch function.</p>
<p dir="auto">Stubborn ( or dumb) here, I'll return these 2 and buy the non-AWS version.<br />
Bo</p>
]]></description><link>https://community.m5stack.com/post/17417</link><guid isPermaLink="true">https://community.m5stack.com/post/17417</guid><dc:creator><![CDATA[W4GHV]]></dc:creator><pubDate>Thu, 05 May 2022 15:58:42 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 14:37:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/w4ghv" aria-label="Profile: W4GHV">@<bdi>W4GHV</bdi></a></p>
<p dir="auto">have you downloaded the <code>Core2_For_AWS</code> from within M5Burner?</p>
<p dir="auto"><img src="/assets/uploads/files/1651761404879-core2_for_aws_fw_20220505.png" alt="0_1651761398226_Core2_For_AWS_FW_20220505.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">In my Linux setup <code>Core2_For_AWS-v0.0.1.bin</code> is in this path <code>M5Burner_Linux/packages/fw/core/</code>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17414</link><guid isPermaLink="true">https://community.m5stack.com/post/17414</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 05 May 2022 14:37:40 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 13:55:31 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 reply. I see you are busy helping lots of folks.<br />
I think you nailed the problem.<br />
I need the AWS.bin file. It's not in the burner FW subdir.</p>
<p dir="auto">I looked everywhere on the web and only found the source. Can you send it to me?</p>
<p dir="auto">On + side, I got Thonny, blink, &amp; hello going on a new ESP-WROOM-32 ESP32S!</p>
<p dir="auto">I'm hoping the.bin file is the solution.<br />
Bo</p>
]]></description><link>https://community.m5stack.com/post/17412</link><guid isPermaLink="true">https://community.m5stack.com/post/17412</guid><dc:creator><![CDATA[W4GHV]]></dc:creator><pubDate>Thu, 05 May 2022 13:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 13:47:38 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/albertlt" aria-label="Profile: albertlt">@<bdi>albertlt</bdi></a></p>
<p dir="auto">the documentation <a href="https://github.com/m5stack/M5Core2/blob/master/src/utility/M5Button.h" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> should answer most of your questions. If you define your buttons outside a function then you can use <code>btn1.wasPressed()</code> like this:</p>
<pre><code>    #include &lt;M5Core2.h&gt;
    Button myButton(10, 10, 200, 100, false, "I'm a button !", {BLACK, WHITE, WHITE});
    void setup() {
      M5.begin();
    }
    void loop() {
      M5.update();
      if (myButton.wasPressed()) Serial.print("* ");
    }
</code></pre>
<p dir="auto">As for I2C - as I wrote in my last post, check out tasks.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17411</link><guid isPermaLink="true">https://community.m5stack.com/post/17411</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 05 May 2022 13:47:38 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 09:25:25 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 a lot for pointing out the static on the button. So I am planning to place a couple buttons on the screen and put all the codes in the tapEvent() method and filter by e.objName(). Is it the correct way to do it? or is there alternative similar to: M5.BtnA.wasPressed() ? Also, how do I clear the static button when changing screen to preserve ram?</p>
<p dir="auto">Yes, I also realized Wire.requestFrom(); is causing the block. Is there any way to get around this issue? This make the device's UI not very user friendly when i2c is used and without i2c, this device is not very useful as a lot of modules depend on i2c :(</p>
]]></description><link>https://community.m5stack.com/post/17409</link><guid isPermaLink="true">https://community.m5stack.com/post/17409</guid><dc:creator><![CDATA[albertlt]]></dc:creator><pubDate>Thu, 05 May 2022 09:25:25 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 09:13:52 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/albertlt" aria-label="Profile: albertlt">@<bdi>albertlt</bdi></a></p>
<p dir="auto">if I print <code>millis()</code> before and after the <code>Wire.requestFrom()</code> statement I see that the statement is blocking for about 1 second. During that time no other code is running, including checking for touch. You might want to look into <a href="https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/" target="_blank" rel="noopener noreferrer nofollow ugc">tasks</a>.</p>
<p dir="auto">As for the button, you'll need to add the keyword <code>static</code> in front of <code>Button btn1 ...</code>. Reason: with your current code the button gets drawn but since the variable <code>btn1</code> is only valid as long as <code>ShowScreen()</code> is executed, it no longer exists when you tap the screen.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17408</link><guid isPermaLink="true">https://community.m5stack.com/post/17408</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 05 May 2022 09:13:52 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 07:24:23 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> , here is the code:</p>
<pre><code>String wireData;
unsigned long prevReadMillis;
int READ_DELAY = 100;    

void setup() {
  M5.begin();
  Serial.begin(115200);
  Wire.begin(32, 33);

  //Init GUI
  myGUI.begin();

  myGUI.ShowScreen();
}

void loop() {
  myGUI.loop();
  I2CLoop();
}

void I2CLoop(){
  if((millis() - prevReadMillis) &gt; READ_DELAY){
    //Read 20 bytes from the slave
    length = Wire.requestFrom(I2C_ADDR, I2C_LENGTH);

    if(length == I2C_LENGTH){
    //in test environment, codes inside this if statement are never executed because I have not connected any external I2C device but the touch is already not responsive.

      wireData = "";

      wireData = Wire.readStringUntil('!');
      Wire.flush();

      Serial.print(millis());
      Serial.print(" - ");
      Serial.print("Wire Data: ");
      Serial.println(wireData);

    }else{
      wireData = "";
    }

    prevReadMillis = millis();
  }
}
</code></pre>
<p dir="auto">GUI class codes:</p>
<pre><code>void M5GUI::begin(){
  //Setup touch buttons
  M5.Buttons.addHandler(tapEvent, E_RELEASE);
}

void tapEvent(Event&amp; e){
  Serial.print("Button: ");
  Serial.println(e.objName());
}

void M5GUI::loop(){
  M5.update();
}

void M5GUI::ShowScreen{
  //Create Touch Button
  ButtonColors on_clrs = {RED, WHITE, WHITE};
  ButtonColors off_clrs = {BLACK, WHITE, WHITE};

  Button btn1(BTN1_POS_X, BTN1_POS_Y, BTN_WIDTH, BTN_HEIGHT, false ,"btn1", off_clrs, on_clrs, CC_DATUM);
}
</code></pre>
<p dir="auto">Another issue is, whenever I touch the screen, the source is always "background" even though I clicked on the "btn1" coordinate. How do I make the virtual touch button to work? The only working sources are: background, physical btnA, physical btnB, and physical btnC. I can't get any virtual button to work. I plan to put several virtual button and execute different code when each button is tapped, so I need to be able to identify the correct source of event.</p>
]]></description><link>https://community.m5stack.com/post/17407</link><guid isPermaLink="true">https://community.m5stack.com/post/17407</guid><dc:creator><![CDATA[albertlt]]></dc:creator><pubDate>Thu, 05 May 2022 07:24:23 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Thu, 05 May 2022 06:10:12 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/w4ghv" aria-label="Profile: W4GHV">@<bdi>W4GHV</bdi></a></p>
<p dir="auto"><code>Core2_For_AWS</code> is a firmware binary in M5Burner as well. No need to compile anything. (Note: it's listed under CORE and not CORE2 &amp; TOUGH.)</p>
<p dir="auto">As for the AT608A error. Since the AT08A is in the M5GO battery bottom 2 - did you try this with the M5GO battery bottom stacked?</p>
<p dir="auto">The only other idea I have, if you haven't tried that yet, is to use M5Burner to completely erase your M5Core2 before burning a new firmware.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17406</link><guid isPermaLink="true">https://community.m5stack.com/post/17406</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 05 May 2022 06:10:12 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Wed, 04 May 2022 23:59:07 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>  core2 tools starts, no touch to proceed<br />
Factory test runs, halts at SD card missing, touch-to-skip fails.<br />
Inserted SD card, now error message is AT608A find failed, touch dead.<br />
Core2 for AWS firmware appears to be source to be compiled with platform, which I haven't conquered yet.</p>
<p dir="auto">I know it's a software error but am out of places to look.</p>
<p dir="auto">Is there a way of transferring an image from a working cube?<br />
What I've done twice can be done again, I'm afraid. Should I buy the third one?🤔😂<br />
Thanks so much for your help.<br />
Bo</p>
]]></description><link>https://community.m5stack.com/post/17403</link><guid isPermaLink="true">https://community.m5stack.com/post/17403</guid><dc:creator><![CDATA[W4GHV]]></dc:creator><pubDate>Wed, 04 May 2022 23:59:07 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Wed, 04 May 2022 20:06:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/albertlt" aria-label="Profile: albertlt">@<bdi>albertlt</bdi></a></p>
<p dir="auto">it's difficult to say why that is happening w/o seeing the actual code you are using. Care to share your code?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17402</link><guid isPermaLink="true">https://community.m5stack.com/post/17402</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 04 May 2022 20:06:34 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Wed, 04 May 2022 19:22:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello. I have Core 2 that is continuously scanning external i2c every 100ms in loop. I noticed the touch event is very unresponsive. For example: every 10 touch, only 1 or 2 was detected. However, if I disable the external i2c in loop, the touch become responsive again. Is there any way to mitigate this issue? I tried increasing the external scan delay (non blocking) to every 250ms but the result is the same.</p>
]]></description><link>https://community.m5stack.com/post/17401</link><guid isPermaLink="true">https://community.m5stack.com/post/17401</guid><dc:creator><![CDATA[albertlt]]></dc:creator><pubDate>Wed, 04 May 2022 19:22:35 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Wed, 04 May 2022 12:42:13 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/w4ghv" aria-label="Profile: W4GHV">@<bdi>W4GHV</bdi></a></p>
<p dir="auto">ok. so we know that the touch IC is alive - that is good.</p>
<p dir="auto">Using M5Burner have you tried to load and run <code>Core2_Tools</code> or <code>Core2FactoryTest</code> or <code>Core2_For_AWS</code> firmware? Does touch work with any of these three firmwares?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17395</link><guid isPermaLink="true">https://community.m5stack.com/post/17395</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 04 May 2022 12:42:13 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Wed, 04 May 2022 01:29:48 GMT]]></title><description><![CDATA[<p dir="auto">For grins I modified the M5.begin()<br />
to include the TTTF<br />
and added the Wire.begin line to a other touch app to wake it up.   No luck.<br />
Bo</p>
]]></description><link>https://community.m5stack.com/post/17386</link><guid isPermaLink="true">https://community.m5stack.com/post/17386</guid><dc:creator><![CDATA[W4GHV]]></dc:creator><pubDate>Wed, 04 May 2022 01:29:48 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Wed, 04 May 2022 01:14: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> Thank you so much!<br />
Yep I get the same addresses now.<br />
So the port exists but no program works with touch.<br />
Is there something in the firmware that isn't normally touched by apps or erasing that is busted?</p>
<p dir="auto">Should I return both and buy another, if Amazon let's me?<br />
Thanks again.<br />
Bo</p>
]]></description><link>https://community.m5stack.com/post/17385</link><guid isPermaLink="true">https://community.m5stack.com/post/17385</guid><dc:creator><![CDATA[W4GHV]]></dc:creator><pubDate>Wed, 04 May 2022 01:14:34 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Tue, 03 May 2022 07:21:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/w4ghv" aria-label="Profile: W4GHV">@<bdi>W4GHV</bdi></a></p>
<p dir="auto">M5Core2 has <strong>two</strong> I2C busses. An internal one (GPIO 21, 22) and an external one (GPIO 32,33) e.g. port A.</p>
<p dir="auto">The I2C scan code you've posted <strong>only</strong> scans the external I2C bus (port A). So if nothing is connected to port A the scan will find noting.</p>
<p dir="auto">In order to scan the internal I2C bus you'll need to modify these two lines:</p>
<pre><code>    Wire.beginTransmission(address);
    error = Wire.endTransmission();
</code></pre>
<p dir="auto">to</p>
<pre><code>    Wire1.beginTransmission(address); // change Wire to Wire1
    error = Wire1.endTransmission(); // change Wire to Wire1
</code></pre>
<p dir="auto">Without the M5GO Battery bottom2 stacked I get 34, 38 and 51. The touch IC has address 38.</p>
<p dir="auto">Please try the I2C scan with the above modifications on your M5Core2 and let me know the scan result.</p>
<p dir="auto">Note: In the M5Core2 library <code>Wire</code> is used for the external I2C bus and <code>Wire1</code> is used for the internal I2C bus.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17377</link><guid isPermaLink="true">https://community.m5stack.com/post/17377</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 03 May 2022 07:21:20 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Mon, 02 May 2022 22:43:29 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>  I have tried everything! I noted on the AWS Core2 forum there is firmware for that version. It takes a complicated PlatformIO procedure to flash it.</p>
<p dir="auto">It this a portion that I may have corrupted that needs to be reflashed??  I'm assuming it is not affected by the ERASE option.</p>
<p dir="auto">I took it apart but could not run it since the battery is there.</p>
<p dir="auto">It has to be a software bug in one of the programs I ran, for it to happen in TWO. It did work initially. I killed the second almost immediately.</p>
<p dir="auto">I left a note on the AWS M5 forum and sent one to M5stack support.</p>
<p dir="auto">Should I send them both back? I really want to give micropython/blocky a chance to help me learn Python.</p>
<p dir="auto">I wonder if I can find this available on another device.??  Any ideas greatly appreciated.<br />
Bo W4GHV</p>
]]></description><link>https://community.m5stack.com/post/17374</link><guid isPermaLink="true">https://community.m5stack.com/post/17374</guid><dc:creator><![CDATA[W4GHV]]></dc:creator><pubDate>Mon, 02 May 2022 22:43:29 GMT</pubDate></item><item><title><![CDATA[Reply to touch stopped working on Mon, 02 May 2022 22:33:58 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 for the response. The Arduino I2C scan shows no addresses</p>
<p dir="auto">Part of the sketch.</p>
<ul>
<li>describe：I2C Scanner.  I2C探测</li>
<li>date：2021/7/26</li>
</ul>
<hr />
<p dir="auto"><em>/<br />
/</em><br />
This program scans the addresses 1-127 continuosly and shows the devices found on the TFT.<br />
*/<br />
#include &lt;M5Core2.h&gt;</p>
<p dir="auto">void setup()<br />
{<br />
M5.begin(true,true,true,true); //Init M5Core2(Initialization of external I2C is also included).  初始化M5Core2(初始化外部I2C也包含在内)<br />
<a href="//Wire.begin" target="_blank" rel="noopener noreferrer nofollow ugc">//Wire.begin</a>(21, 22); //Detect internal I2C, if this sentence is not added, it will detect external I2C.  检测内部I2C,若不加此句为检测外部I2C<br />
M5.Lcd.setTextColor(YELLOW);  //Set the font color to yellow.  设置字体颜色为黄色<br />
M5.Lcd.setTextSize(2);  //Set the font size to 2.  设置字体大小为2<br />
M5.Lcd.println("M5Core2 I2C Tester"); //Print a string on the screen.  在屏幕上打印字符串<br />
delay(3000);<br />
M5.Lcd.fillScreen( BLACK ); //Make the screen full of black (equivalent to clear() to clear the screen).  使屏幕充满黑色(等效clear()清屏)<br />
}</p>
<p dir="auto">int textColor=YELLOW;</p>
<p dir="auto">void loop()<br />
{<br />
int address;<br />
int error;<br />
M5.Lcd.setCursor(0, 0);<br />
M5.Lcd.println("scanning Address [HEX]");<br />
for(address = 1; address &lt; 127; address++ )<br />
{<br />
Wire.beginTransmission(address);  //Data transmission to the specified device address starts.   开始向指定的设备地址进行传输数据<br />
error = Wire.endTransmission(); /*Stop data transmission with the slave.  停止与从机的数据传输<br />
0: success.  成功<br />
1: The amount of data exceeds the transmission buffer capacity limit.  数据量超过传送缓存容纳限制<br />
return value:              2: Received NACK when sending address.  传送地址时收到 NACK<br />
3: Received NACK when transmitting data.  传送数据时收到 NACK<br />
4: Other errors.  其它错误 */<br />
if(error==0)<br />
{<br />
M5.Lcd.print(address,HEX);<br />
M5.Lcd.print(" ");<br />
}<br />
else M5.Lcd.print(".");</p>
<pre><code>delay(10);
</code></pre>
<p dir="auto">}</p>
<p dir="auto">if(textColor==YELLOW) {<br />
textColor=CYAN;<br />
}else textColor=YELLOW;<br />
M5.Lcd.setTextColor(textColor,BLACK); //Set the foreground color of the text to textColor and the background color to BLACK.  设置文字的前景色为textColor背景色为BLACK</p>
]]></description><link>https://community.m5stack.com/post/17373</link><guid isPermaLink="true">https://community.m5stack.com/post/17373</guid><dc:creator><![CDATA[W4GHV]]></dc:creator><pubDate>Mon, 02 May 2022 22:33:58 GMT</pubDate></item></channel></rss>