mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Updated Examples (markdown)
15
Examples.md
15
Examples.md
@@ -2,16 +2,21 @@ You can find these examples the Arduino IDE examples menu under "NeoPixelBus by
|
||||
|
||||
# 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.
|
||||
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.
|
||||
[YouTube video of sample running](https://youtu.be/29cMRZeLSBU)
|
||||
|
||||
# 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.
|
||||
This example will move a trail of light around a series of pixels with a fading tail. A ring formation of pixels looks best.
|
||||
[YouTube video of sample running](https://youtu.be/WZDmuSeAZz8)
|
||||
|
||||
# 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.
|
||||
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.
|
||||
[YouTube video of sample running](https://youtu.be/_mntvFXTXqk)
|
||||
|
||||
# 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.
|
||||
This example will randomly pick a color and fade all pixels to that color, then it will fade them to black and restart over.
|
||||
[YouTube video of sample running](https://youtu.be/E6HtUSrpvHk)
|
||||
|
||||
# NeoPixelAnimation
|
||||
This is a more complex example that demonstrates platform specific animation callbacks and the timescale support for long duration animations.
|
||||
This is a more complex example that demonstrates platform specific animation callbacks and the timescale support for long duration animations.
|
||||
[YouTube video of sample running](https://youtu.be/npTYW1JKI6s)
|
Reference in New Issue
Block a user