When connecting in this way:
1.If you use this code:https://yadi.sk/d/IJz5ky1D3MAM5L
The glow will be red and static so that the effects needed in the port monitor use the commands:
The command to switch effects:
For the first fan:
>1,0,2>1,2,21>1,7,60
For the second fan:
>2,0,2>2,2,21>2,7,60
For the third fan:
>3,0,2>3,2,21>3,7,60
By entering these commands sequentially, you can turn on the desired effect.
To fix the effect, use the command:
!
Brightness setting command:
>0,0,255
Where 255 is the maximum brightness.
To enter commands, I recommend using this program:
https://yadi.sk/d/wUPX31Dn3MAMz3
It works more correctly
2.If you use an alternative code: https://yadi.sk/d/EQBc_jXn3MANKL
When loading in arduino, immediately, the effect will appear, 1 of 25, to select the desired effect, in the monitor port, or in the terminal you need to enter the command: the effect number from 1 to 25.
3.There is also a version of the second code that I modified. Then every 100 seconds the effect automatically changes. From 5 to 13, from 15 to 25, an exception with 1-4 and 14:https://yadi.sk/d/mLig9YfL3MANvx