XIAO RP2350 has RGB LED but "IS_RGBW true" in code

According to the schematic and the pcb, the XIAO RP2350 has a RGB LED.
But in the RGB Blink example code there is a line #define IS_RGBW true.
This seems like a contradiction.
Does anybody know, why it’s not #define IS_RGBW false?

Maybe the RGB LED forgives the extra 8 bits without pause, but the code is still misleading.
I don’t own a XIAO RP2350 yet, so I can’t test.

Hi there,

So They sent me one of these and I thought to check it out.
First you will need SUN GLASSES :sunglasses:

This thing is BRIGHT. So looking at the Schematic you see the signal goes thru a 1-Bit Bidirectional Voltage level Translator UM3301DA, NO inversion takes place.



HTH
GL :slight_smile: PJ :v:

Merry Christmas :santa:

The question is, if it is RGB or RGBW.

And if it is RGB, why does the code is RGBW?

In the video because of brightness I am not able to really distinguish all the colors.

upload://rJZ21AlBllQrtb8WGAOe6wsQNnf.jpeg

Hi there,

I didn’t get that from the post, sounded like a logic question. but whatever…
SO YES it’s an “RGBW”, and YES it is Very Bright.

GL :slight_smile: PJ :v:

Interesting.
How did you find out it’s an RGBW?

HI there,

Oh’ that is a need to know basis only, suffice to say
:shushing_face: I got a Mole/Frank :male_detective: in Seeed Engineering…

GL :slight_smile: PJ :v:

Arise! Go Forth and Conquer :person_fencing:

As you can see, the example code is a fork of pico-examples/pio/ws2812/ws2812.c at master · raspberrypi/pico-examples

Just ignore the Macro.

1 Like

@ PJ_Glasso Thanks to you and to your mole :slight_smile:

@ Love4yzp Ignoring the macro doesn’t make sense to me.
See line 16 in your link.

1 Like