STRIP[0] - STRIP[3]


STRIP paranccsal WS2812/WS2812B ledszalagot/gyűrűt/csíkot lehet vezérelni.
DATA láb a Setup/Peripheral menüben konfigurálható. 5V állásban OpenDrain módban
van a vezérlő kimenet, 5V DATA közé 1k felhúzó ellenállás kell. Sok led használata
esetén test, táp a szalag mind a két végére kell, megfelelő teljesítményű tápegységről.
Ledek színe RRGGBB hex formában adhatók meg. Pl: FF00FF = lila. # karakter lehet előtte.

STRIP[0](BR)128
Fél fényerő. Valid: 0-255

NUM[0]=20
STRIP[0](BR)NUM[0]
Fényerő: 20

STRIP[0]FF0000
Az egész ledsor piros.

STR[1]=FFFFFF
STRIP[0]STR[1]
Az egész ledsor fehér.

STRIP[0]{1}00FF00
1.led zöld. Számozás 0-tól kezdődik. A többi led állapota nem változik.

STRIP[0]C{2}FFFF00
2.led sárga, a többit kikapcsolja.

STRIP[0]{0-5}00FF00
0-5 led zöld, a többi led állapota nem változik.

STRIP[0]C{2-8}FFFFFF
2-8 led fehér, a többit kikapcsolja.

STR[10]=FF0000|STR[11]=FFFF00|STR[12]=00FF00|STR[13]=00FF33|STR[14]=0000FF
STRIP[0]C{0-4}STR[10]
0-4 led szivárvány, a többit kikapcsolja.

STRIP[0](Effect,Speed,R)COLOR1,COLOR2
Effect: Lenti listában részletezve.
Speed: Villogás sebessége millisecundumban. Nem minden effekthez kötelező.
,R: Fordított irány. Nem kötelező.
COLOR1,COLOR2: Effekt színei. Nem minden effekthez kötelező.
Ezt jobban nem tudom leírni, ki kell próbálni...

STRIP[0](1,100)FF0000,0000FF
Rendőrvillogó

STRIP[0](20)
Nem tudom mi ez, de jópofa.

Effektek
0. Static - No blinking. Just plain old static light.
1. Blink - Normal blinking. 50% on/off time.
2. Breath - Does the "standby-breathing" of well known i-Devices. Fixed Speed.
3. Color Wipe - Lights all LEDs after each other up. Then turns them in that order off. Repeat.
4. Color Wipe Inverse - Same as Color Wipe, except swaps on/off colors.
5. Color Wipe Reverse - Lights all LEDs after each other up. Then turns them in reverse order off. Repeat.
6. Color Wipe Reverse Inverse - Same as Color Wipe Reverse, except swaps on/off colors.
7. Color Wipe Random - Turns all LEDs after each other to a random color. Then starts over with another color.
8. Random Color - Lights all LEDs in one random color up. Then switches them to the next random color.
9. Single Dynamic - Lights every LED in a random color. Changes one random LED after the other to a random color.
10. Multi Dynamic - Lights every LED in a random color. Changes all LED at the same time to new random colors.
11. Rainbow - Cycles all LEDs at once through a rainbow.
12. Rainbow Cycle - Cycles a rainbow over the entire string of LEDs.
13. Scan - Runs a single pixel back and forth.
14. Dual Scan - Runs two pixel back and forth in opposite directions.
15. Fade - Fades the LEDs on and (almost) off again.
16. Theater Chase - Theatre-style crawling lights. Inspired by the Adafruit examples.
17. Theater Chase Rainbow - Theatre-style crawling lights with rainbow effect. Inspired by the Adafruit examples.
18. Running Lights - Running lights effect with smooth sine transition.
19. Twinkle - Blink several LEDs on, reset, repeat.
20. Twinkle Random - Blink several LEDs in random colors on, reset, repeat.
21. Twinkle Fade - Blink several LEDs on, fading out.
22. Twinkle Fade Random - Blink several LEDs in random colors on, fading out.
23. Sparkle - Blinks one LED at a time.
24. Flash Sparkle - Lights all LEDs in the selected color. Flashes single white pixels randomly.
25. Hyper Sparkle - Like flash sparkle. With more flash.
26. Strobe - Classic Strobe effect.
27. Strobe Rainbow - Classic Strobe effect. Cycling through the rainbow.
28. Multi Strobe - Strobe effect with different strobe count and pause, controlled by speed setting.
29. Blink Rainbow - Classic Blink effect. Cycling through the rainbow.
30. Chase White - Color running on white.
31. Chase Color - White running on color.
32. Chase Random - White running followed by random color.
33. Chase Rainbow - White running on rainbow.
34. Chase Flash - White flashes running on color.
35. Chase Flash Random - White flashes running, followed by random color.
36. Chase Rainbow White - Rainbow running on white.
37. Chase Blackout - Black running on color.
38. Chase Blackout Rainbow - Black running on rainbow.
39. Color Sweep Random - Random color introduced alternating from start and end of strip.
40. Running Color - Alternating color/white pixels running.
41. Running Red Blue - Alternating red/blue pixels running.
42. Running Random - Random colored pixels running.
43. Larson Scanner - K.I.T.T.
44. Comet - Firing comets from one end.
45. Fireworks - Firework sparks.
46. Fireworks Random - Random colored firework sparks.
47. Merry Christmas - Alternating green/red pixels running.
48. Fire Flicker - Fire flickering effect. Like in harsh wind.
49. Fire Flicker (soft) - Fire flickering effect. Runs slower/softer.
50. Fire Flicker (intense) - Fire flickering effect. More range of color.
51. Circus Combustus - Alternating white/red/black pixels running.
52. Halloween - Alternating orange/purple pixels running.
53. Bicolor Chase - Two LEDs running on a background color.
54. Tricolor Chase - Alternating three color pixels running.
55. TwinkleFOX - Lights fading in and out randomly.

https://github.com/kitesurfer1404/WS2812FX
A STRIP parancs ezt a könyvtárat használja. Köszönet a fejlesztőnek.