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

    Brightness on m5stickc & core gray?

    Micropython
    2
    2
    3.7k
    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.
    • D
      dclaar
      last edited by

      On the m5stickc, uiflow's brightness is converted to axp.setLcdBrightness(level). This appears to be between 0 and 100, although 20 is barely visible in the dark.

      The core gray doesn't have axp, but one can use lcd.setBrightness(level): This appears to be 0-255 from the doc, but realistically, it doesn't seem to matter above 25 or so. Is this documented anywhere?

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

        Hello @dclaar

        I don't think this has been documented yet - but I could be wrong.

        But consider this. I have multiple M5Stack (Gray, Basic, Fire) and even with the same brightness setting the actual brightness differs visibly.

        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