🤖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

    Scheduled Pinned Locked Moved PROJECTS
    2 Posts 1 Posters 5.7k Views
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post