Skip to content

LED patterns

Bendeguz edited this page May 28, 2026 · 2 revisions

Here are all the pattern functions for the LED ring with examples and images. To use the patterns, simply call the start functions once and the LEDs will keep updating until you call an other function or noPattern().

Note

Make sure you have first initialized the LED ring.

Patterns

positionDotPattern()

Parameters

  • byte red
  • byte green
  • byte blue

Usage

encoder.positionDotPattern(25, 25, 25); //start the dot pattern with a white, approx. 10% bright dot

Preview

coming soon

fillBarPattern()

Parameters

  • byte red
  • byte green
  • byte blue

Usage

encoder.fillBarPattern(25, 25, 25); //start the bar pattern which will be filled from the first pixel

Preview

coming soon

Clone this wiki locally