mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Created Examples (markdown)
17
Examples.md
Normal file
17
Examples.md
Normal file
@@ -0,0 +1,17 @@
|
||||
You can find these examples the Arduino IDE examples menu under "NeoPixelBus by Makuna".
|
||||
|
||||
# NeoPixelTest
|
||||
This is a good place to start and make sure your pixels work.
|
||||
This is simple example that sets four pixels to red, green, blue, and white in order; and then flashes off and then on again. If the first pixel is green and the second is red, you need to use the NeoRgbFeature with NeoPixelBus constructor.
|
||||
|
||||
# NeoPixelFunLoop
|
||||
This example will move a trail of light around a series of pixels with a fading tail. A ring formation of pixels looks best.
|
||||
|
||||
# NeoPixelFunRandomChange
|
||||
This example will randomly select a number pixels and then start an animation to blend them from their current color to randomly selected a color.
|
||||
|
||||
# NeoPixelFunFadeInOut
|
||||
This example will randomly pick a color and fade all pixels to that color, then it will fade them to black and restart over.
|
||||
|
||||
# NeoPixelAnimation
|
||||
This is a more complex example that demonstrates platform specific animation callbacks and the timescale support for long duration animations.
|
Reference in New Issue
Block a user