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

    Unexpected results when using intensity slider for LED vontrol

    UiFlow 2.0
    2
    3
    64
    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.
    • L
      l.roca
      last edited by

      Regarding previous posts about the green LED control: I’ve implemented an intensity slider, but it’s behaving unexpectedly. The light shifts to red instead of dimming the green. Interestingly, the color is correct when brightness is set manually to 100%. Does anyone have insight into what might be the reason?

      Picture1.png

      robskiR 1 Reply Last reply Reply Quote 0
      • robskiR
        robski @l.roca
        last edited by

        @l-roca what happens if you do intensity conversion outside set brightness block then use this variable for set brightness to .... block

        other words does set brightness to 25, 50, 75 works fine with fixed values in it?

        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ, M5Tab, M5CardputerAdv

        L 1 Reply Last reply Reply Quote 0
        • L
          l.roca @robski
          last edited by

          @robski If I set them manually in the GreenSwitch and whiteSwitch it works fine

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