Hi, I noticed that e.g. in example 2 pixel LED 4 is named as index 4.
//turn on LED#4, red
LEDStick.setLEDColor(4, 255, 0, 0);
But actually, the LED index is from 0 to 9 (LED 1 to 10).
So calling=
LEDStick.setLEDColor(4, 255, 0, 0);
turns on the 5th pixel on the LED strip (not the 4th!)
It is also described wrong in Qwiic_LED_Stick.h where it says in line 48-50
//Change the color of a specific LED
//each color must be a value between 0-255
//LEDS indexed starting at 1 (<- wrong, index starts at 0)
Hi, I noticed that e.g. in example 2 pixel LED 4 is named as index 4.
But actually, the LED index is from 0 to 9 (LED 1 to 10).
So calling=
LEDStick.setLEDColor(4, 255, 0, 0);turns on the 5th pixel on the LED strip (not the 4th!)
It is also described wrong in Qwiic_LED_Stick.h where it says in line 48-50