Skip to content

using 4 single leds instead of rgb strip #1

@xcawhy

Description

@xcawhy

RGB_4LEDS.zip
rgbw

This code is for using different colour single leds for same effects.

I added a new byte "w" in struct rgb with "r,g,b" and added new byte "v" in struct point in the file RGBEffects.h

I added "int white", "int whitePin", "_whitePin", "colour.w", "int _dw" variables where necessary.
In cube pattern, I made some changes.

In examples I changed the code to use extra led.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions