Stripes


Project maintained by profezzorn Hosted on GitHub Pages — Theme by mattgraham

Usage 🔗

Stripes<WIDTH, SPEED, COLOR1, COLOR2, ... >
StripesX<WIDTH_CLASS, SPEED, COLOR1, COLOR2, ... >

Arguments 🔗

Description 🔗

Works like Rainbow, but with any colors you like. WIDTH determines width of stripes SPEED determines movement speed

If you have a ring of LEDs and you want the stripes to line up, you'll need to set WIDTH using the following formula: WIDTH = 50000 * NUM_LEDS_IN_RING / (NUM_COLORS * REPETITIONS * 341)

See Also 🔗

HardStripes, Rainbow, Int

Source Link 🔗

https://github.com/profezzorn/ProffieOS/blob/6f8add544c627172ad2dd698c90e5e55078a420a/styles/stripes.h#L7