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

    Led pins on m5core2

    General
    3
    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.
    • B
      babygirl1248
      last edited by

      Hello, I'm trying to figure out what the led pins on the aws version are. I know one is 25 but is there another one associated with it?

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

        Hello @babygirl1248

        the RGB LEDs are electrically connected in a row. Only the input of the first LED is directly connected to GPIO25. The input of the second LED is connected to the output of the first LED and so on. They are all controlled via a library called FastLED.

        Have a look at the AWS factory firmware here. Search for FastLED, LEDS_PIN, LEDS_NUM and ledsBuff to see how they are initialized and controlled.

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • ajb2k3A
          ajb2k3
          last edited by

          Hi, the LEDS are self addressable so only need one I/O pin to control all of them

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

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