🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5.BtnA.wasPressed() conflicts with WiFi

    PROJECTS
    1
    2
    4.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      macsbug
      last edited by

      This is a report of measures for the A button of M5Stack and the B button of M5Stick C to operate without permission.
      Workaround:WiFi.setSleep(false);

      ButtonA on M5Stack does not work properly : May 02, 2021
      https://macsbug.wordpress.com/2021/05/02/buttona-on-m5stack-does-not-work-properly/
      alt text

      1 Reply Last reply Reply Quote 0
      • M
        macsbug
        last edited by

        Countermeasure: Turn on the ADC Power of GPIO39.

        #include <driver/adc.h>
        void setup(){
        adc_power_acquire(); // ADC Power ON

        The countermeasures have been clarified by the investigation and analysis of Mr. nao *.
        https://twitter.com/mikasa231/status/1403576681701335044
        We would like to thank Mr. nao * for his efforts.

        ded it to my blog. Postscript: 2021.06.13
        ButtonA on M5Stack does not work properly
        https://macsbug.wordpress.com/2021/05/02/buttona-on-m5stack-does-not-work-properly/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post