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

    Turn OFF m5core programmatically in UIFlow?

    Lessons and Guides
    4
    6
    8.6k
    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
      ganeyvim
      last edited by

      This is available in the Arduino library (m5.powerOFF), but have not
      seen a similar option in the UIFlow IDE.
      eg; " button A, then power OFF"

      1 Reply Last reply Reply Quote 0
      • F
        favnec5
        last edited by

        hello,
        In fact, power.powerOff() work.
        hardwares > power > powerOff (uiflow 1.8.1)

        best reguards
        Thomas

        Thomas

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

          no hardware > power> powerOff in (uiflow 1.8.1)

          F 1 Reply Last reply Reply Quote 1
          • felmueF
            felmue
            last edited by

            Hi guys

            it seems to depend on which device has been selected in UIFlow 1.8.1.

            • Devices with power off block: M5Core2, M5StickC, M5StickC Plus, M5CoreInk and M5Paper.
            • Devices w/o power off block: M5Stack Base, M5Stack Fire, M5AtomLite and M5AtomMatrix.

            Thanks
            Felix

            GPIO translation table M5Stack / M5Core2
            Information about various M5Stack products.
            Code examples

            1 Reply Last reply Reply Quote 1
            • F
              favnec5 @ganeyvim
              last edited by

              @ganeyvim
              Sorry Ganeyvim, I thought it was the same for all devices but... nop

              Thomas

              1 Reply Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3
                last edited by

                There was a change to the way the power control chip in the cores and only some are able to programmatically control the chip.

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

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