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

    Env Hat Compass

    M5 Stick/StickC
    3
    6
    7.0k
    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.
    • X
      xis
      last edited by

      Hello,
      Please help me to get the values from the Env Hat in UI flow, to make a compass.
      Thank You

      liemphL 1 Reply Last reply Reply Quote 0
      • liemphL
        liemph @xis
        last edited by

        @xis I may be wrong, but the ENV Hat does not have the compass capability.

        X 1 Reply Last reply Reply Quote 0
        • X
          xis @liemph
          last edited by

          @liemph here https://docs.m5stack.com/#/en/hat/hat-env says one of the applications is Compass

          liemphL 2 Replies Last reply Reply Quote 0
          • liemphL
            liemph @xis
            last edited by

            @xis said in Env Hat Compass:

            @liemph here https://docs.m5stack.com/#/en/hat/hat-env says one of the applications is Compass

            You are correct. If you could get the value from the magnetometer (at least x and y) then there is a possibility to make a compass application. I work with UiFlow 1.4.5 and I could not find it from the standard way (for the time being, using this version). A newer version may provide the capability or you may try to build your own block (python) for reading the values (sorry I can not guide you further for this since I am now still learning how to include my own python program into the UiFlow).

            1 Reply Last reply Reply Quote 0
            • liemphL
              liemph @xis
              last edited by

              @xis 0_1587772080865_30b6df07-e618-4583-83be-baf69b455dfa-image.png

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

                @liemph it looks like the compass side has not been enabled yet in UIFlow

                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