🤖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

    PRODUCTS
    6
    8
    16.2k
    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
      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
        yellowelise
        last edited by

        try
        M5.powerOFF();

        G 1 Reply Last reply Reply Quote 0
        • G
          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
            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
              gfabian @m5-docs
              last edited by

              @watson
              Thanks, I am waiting for that

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

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

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

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

                  1 Reply Last reply Reply Quote 0
                  • Q
                    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
                    • First post
                      Last post