🤖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

    UIFlow
    2
    3
    4.3k
    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
      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
        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
          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
          • First post
            Last post