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

    lcd.arc green outline

    Bug Report
    2
    2
    1.9k
    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.
    • B
      Ber
      last edited by

      Hi ,
      when I use lcd.arc graphic I always have a green outline that appears. is this normal? how to avoid that?
      Best regards Bertrand

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

        Hello @Ber

        it looks like using the arc block only one color (either outline or filling) can be defined at the time. The color which is not defined seems to be random, causing the unwanted outline.

        So instead of using the arc block directly you could use the Advanced - Execute code block which then allows to define both colors together like this:

        lcd.arc(120, 160, 100, 50, 0, 90, color=0xff0000, fillcolor=0xff0000)
        

        Thanks
        Felix

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

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