Led pins on m5core2



  • 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?



  • 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



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