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

    To switch off the M5Stick from code

    Scheduled Pinned Locked Moved PRODUCTS
    8 Posts 6 Posters 19.3k Views 3 Watching
    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.
    • G Offline
      gfabian
      last edited by

      Hi, is there a command for switching off the M5Stick from code?
      Thanks,

      1 Reply Last reply Reply Quote 0
      • yelloweliseY Offline
        yellowelise
        last edited by

        try
        M5.powerOFF();

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gfabian @yellowelise
          last edited by

          @yellowelise

          I've tried. It works well with M5Stack, but not with M5Stick.
          M5Stick is only rebooting with M5.powerOFF();

          m5-docsM 1 Reply Last reply Reply Quote 0
          • m5-docsM Offline
            m5-docs @gfabian
            last edited by

            @gfabian
            Thanks. I mark this issue. We'll solve it next week.

            M5Stack documentation URL

            https://docs.m5stack.com

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              gfabian @m5-docs
              last edited by

              @watson
              Thanks, I am waiting for that

              1 Reply Last reply Reply Quote 0
              • L Offline
                LastCaress
                last edited by

                Was this solved? Also looking for power off in m5stick. Thank you.

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gjgsmithvr
                  last edited by

                  I am interested to know if this has been solved too.

                  1 Reply Last reply Reply Quote 0
                  • Q Offline
                    quiaxek
                    last edited by

                    There is a fix in the GitHub repo for Arduino https://github.com/m5stack/M5StickC/pull/52 .

                    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