Skip to content
Michael Miller edited this page May 5, 2023 · 6 revisions

There is a large selection of NeoPixel Methods to pick from. They should only be used with Neo Features. The names of them come in two varieties: the basic and the platform specific named. Each with an optional "Inverted" version.

The basic named:

"Neo<insert LED name>Method"
Simply insert the model name of your LED between "Neo" and "Method" and more than likely you will find a method that works for you.

  • NeoWs2812xMethod - (WS2812a, WS2812b, WS2812c, etc) The most compatible and if yours isn't listed below a good first selection.
  • NeoWs2812Method - (WS2812) An older model pre WS2812b.
  • NeoWs2813Method - (WS2813)
  • NeoWs2811Method - (WS2811) Standalone chip. Also used with a SevenSegmentFeature when several drive a 7-segment LED.
  • NeoWs2816Method - (WS2816) 16-bit color elements, make sure to use NeoGrbWs2816Feature.
  • NeoSk6812Method - (SK6812) A RGBW variant, make sure to use a RGBW color feature.
  • NeoLc8812Method - (LC8812)
  • NeoApa106Method - (APA106)
  • NeoTx1812Method - (TX1812)
  • NeoTm1814Method - (TM1814) A RGBW variant, used with NeoWrgbTm1814Feature.
  • NeoTm1914Method - (TM1914) used with NeoRgbTm1914Feature.
  • NeoTm1829Method - (TM1829)
  • Neo400KbpsMethod - old slower speed standard that started this all.

And each of the above will often come in inverted versions that will invert the output signal for the use a simple level shifter solution. Here are just a few examples...

  • NeoWs2812xInvertedMethod - (WS2812a, WS2812b, WS2812c, etc) Inverted
  • NeoTx1812InvertedMethod - (TX1812) Inverted

The platform specific named:

"Neo<insert platform><insert hardware detail><insert LED name>Method"
In most cases the above basic named methods should be all the methods you need to use for all platforms. In a few cases, there are alternative methods that are useful to use on some platforms. Here are just a few examples...

  • NeoEsp8266BitBangWs2812xMethod - ESP8266 platform, using BitBang to drive output, for the WS2812x model LEDs.
  • NeoEsp32Rmt6Ws2812xMethod - ESP32 platform, using RMT peripheral on channel 6, for the WS2812x model LEDs.
  • NeoNrf52xPwmNWs2812xMethod - NRF52x platform, using PWM peripheral with a run time selected channel, for the WS2812x model LEDs.

Currently supported platforms that have specific methods:

Clone this wiki locally