sk6812: added readme.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<extradist>
|
||||
main.asm
|
||||
recv.asm
|
||||
README
|
||||
</extradist>
|
||||
|
||||
</gwbuild>
|
||||
|
||||
27
avr/modules/sk6812/README
Normal file
27
avr/modules/sk6812/README
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
Module for SK6812 RGBW LED Strips
|
||||
=================================
|
||||
=================================
|
||||
|
||||
|
||||
1. Values
|
||||
=========
|
||||
|
||||
1.1 RGBWVALUE
|
||||
-------------
|
||||
|
||||
RGB Value for activated light:
|
||||
aqhome-tool setdata -N nodes/XXXXXXXX/RGBWVALUE -v GRWB
|
||||
|
||||
Example:
|
||||
Set color of LED strip to blue (half intensity)
|
||||
aqhome-tool setdata -N nodes/12345678/RGBWVALUE -v 0x80
|
||||
|
||||
|
||||
1.2. RGBWSTATE
|
||||
--------------
|
||||
|
||||
Turn LED strip on or off using the color set with RGBWVALUE
|
||||
aqhome-tool setdata -N nodes/XXXXXXXX/RGBWSTATE -v 1 # on
|
||||
aqhome-tool setdata -N nodes/XXXXXXXX/RGBWSTATE -v 0 # off
|
||||
|
||||
Reference in New Issue
Block a user