Neopixel RGBW issue July 20, 2022 11:23PM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 21, 2022 12:45AM |
Admin Registered: 12 years ago Posts: 6,728 |
Ie you have GBRWGBRWGBRWGBRWGBRWGBRWGBRWGBRWGBRW you have told it you have GBRGBRGBRGBRGBRGBRGBRGBRGBRGBRGBRGBR So when you turn on G you get the following G W R B G W R B G W R B
Re: Neopixel RGBW issue July 21, 2022 01:18AM |
Admin Registered: 12 years ago Posts: 6,728 |
#define NEOPIXEL_LED #if ENABLED(NEOPIXEL_LED) #define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW, NEO_RGBW, NEO_GRB, NEO_RBG, etc. // See [github.com] #define NEOPIXEL_PIN 4 // LED driving pin #define NEOPIXEL_PIXELS 8 // Number of LEDs in the strip. (Longest strip when NEOPIXEL2_SEPARATE is disabled.) #define NEOPIXEL_IS_SEQUENTIAL // Sequential display for temperature change - LED by LED. Disable to change all LEDs at once. #define NEOPIXEL_BRIGHTNESS 15 // Initial brightness (0-255) #define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
Re: Neopixel RGBW issue July 21, 2022 02:01AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 21, 2022 02:34AM |
Registered: 6 years ago Posts: 290 |
Re: Neopixel RGBW issue July 21, 2022 02:51AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 21, 2022 03:20AM |
Admin Registered: 12 years ago Posts: 6,728 |
#define _NEO_IS_RGB(N) (N == NEO_RGB || N == NEO_RBG || N == NEO_GRB || N == NEO_GBR || N == NEO_BRG || N == NEO_BGR) #if !_NEO_IS_RGB(NEOPIXEL_TYPE) #define HAS_WHITE_LED 1 #endif
#if HAS_WHITE_LED #define NEO_WHITE 0, 0, 0, 255 < this line is enabled #else #define NEO_WHITE 255, 255, 255 < this line is greyed out #endif
Re: Neopixel RGBW issue July 21, 2022 04:03AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 21, 2022 04:10AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 21, 2022 04:15AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 21, 2022 04:19AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 21, 2022 07:37AM |
Registered: 6 years ago Posts: 290 |
Quote
I can get the RGB (NEO_GBR) colours to work perfectly (when 'HAS_WHITE_LED' is not selected), they cycle correctly when the board is powered up (self test), and I have full control using the gcode M150 commands.
sent | RGB string | WGRB string 0 | Red intensity: 0 | White intensity: 0 0 | Blue intensity: 0 | Red intensity: 0 255 | Green intensity: 255 | Blue intensity: 255 0 | Red intensity: 0 | Green intensity: 0 0 | Blue intensity: 0 | White intensity: 0 255 | Green intensity: 255 | Red intensity: 255 0 | Red intensity: 0 | Blue intensity: 0 0 | Blue intensity: 0 | Green intensity: 0 255 | Green intensity: 255 | White intensity: 255 0 | Red intensity: 0 | Red intensity: 0 0 | Blue intensity: 0 | Blue intensity: 0 255 | Green intensity: 255 | Green intensity: 255
Re: Neopixel RGBW issue July 21, 2022 10:04AM |
Admin Registered: 12 years ago Posts: 6,728 |
Re: Neopixel RGBW issue July 21, 2022 07:38PM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 22, 2022 12:58AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 22, 2022 01:52AM |
Admin Registered: 12 years ago Posts: 6,728 |
Re: Neopixel RGBW issue July 22, 2022 04:03AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 22, 2022 04:26AM |
Admin Registered: 12 years ago Posts: 6,728 |
Re: Neopixel RGBW issue July 22, 2022 04:56AM |
Admin Registered: 12 years ago Posts: 6,728 |
Re: Neopixel RGBW issue July 22, 2022 05:46AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 22, 2022 07:05AM |
Registered: 6 years ago Posts: 290 |
Re: Neopixel RGBW issue July 22, 2022 07:36AM |
Registered: 8 months ago Posts: 21 |
Re: Neopixel RGBW issue July 22, 2022 09:01AM |
Admin Registered: 12 years ago Posts: 6,728 |
Re: Neopixel RGBW issue July 22, 2022 07:50PM |
Registered: 8 months ago Posts: 21 |