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

    Where did rectangle go? Core to Tough

    Scheduled Pinned Locked Moved UIFlow
    3 Posts 2 Posters 5.4k 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.
    • T Offline
      tgeddings
      last edited by

      I'm a new user so I am probably missing something. I created a small app for core on the flow.m5stack.com site. It is UIFlow V1.9.0. The app uses rectangles to show bar graphs. I want to use the same app on an M5 Tough but when I change the device to tough it appears that rectangles and other shapes are not supported. How can I create rectangles on the M5 Tough?

      T 1 Reply Last reply Reply Quote 1
      • T Offline
        tgeddings @tgeddings
        last edited by

        Anybody? Is there any way to draw a rectangle on a core2 or tough? If not, is there a better way to create a bar graph?

        Thanks.

        1 Reply Last reply Reply Quote 1
        • M Offline
          macsbug
          last edited by macsbug

          Hello @tgeddings

          I don't know UIFlow, but there are bar graphs in the Arduino IDE.

          The LCD has a progressBar command.
          https://github.com/m5stack/m5-docs/blob/master/docs/en/api/lcd.md
          progressBar(int x, int y, int w, int h, uint8_t val);

          0_1643144507084_M5_VS1053s.png

          LVGL has many display functions as well as bar graphs.
          Light and Versatile Graphics Library:https://lvgl.io/
          UIFlow is a port of LVGL, and the addition of functions is always delayed.

          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