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

    Set brightness on one pixel

    Atom
    2
    5
    7.8k
    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.
    • V
      Vrtisworks
      last edited by

      Is there a function to set the brightness on one pixel?

      rgb.setBrightness(10) seems to set it on all pixels. I would like to be able to fade from one pixel to the next one.

      1 Reply Last reply Reply Quote 0
      • ZontexZ
        Zontex
        last edited by

        @vrtisworks said in Set brightness on one pixel:

        Is there a function to set the brightness on one pixel?

        rgb.setBrightness(10) seems to set it on all pixels. I would like to be able to fade from one pixel to the next one.

        Hello, could you please provide some more information such as what kind of hardware are you trying to use and are you looking for Arduino or MicroPython solution?

        V 1 Reply Last reply Reply Quote 0
        • V
          Vrtisworks @Zontex
          last edited by

          @zontex I have an Atom Matrix. And I am using MicroPython .

          ZontexZ 2 Replies Last reply Reply Quote 0
          • ZontexZ
            Zontex @Vrtisworks
            last edited by

            @vrtisworks said in Set brightness on one pixel:

            @zontex I have an Atom Matrix. And I am using MicroPython .

            Hi, i'm looking into it and will get back to you

            1 Reply Last reply Reply Quote 0
            • ZontexZ
              Zontex @Vrtisworks
              last edited by Zontex

              @vrtisworks said in Set brightness on one pixel:

              @zontex I have an Atom Matrix. And I am using MicroPython .

              0_1605489737290_Screen Shot 2020-11-16 at 9.21.51 AM.png

              In the UIFlow you can set the brightness of specific LEDs by using the "set the x RGB color by RGB ..." you need to mention what LED you want to use and in RGB you can set the intensity by the value where 255 is the highest value and 0 is the lowest value and so control the intensity of the LEDs by that.

              And here is example of fading up and down a single LED light:
              0_1605490025102_Screen Shot 2020-11-16 at 9.26.31 AM.png

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