diff options
author | cheapie <no-email-for-you@example.com> | 2015-12-07 13:40:15 -0600 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2015-12-07 13:40:15 -0600 |
commit | ee6e27219e8aa9d4d8981ab0a952e3b0595f3948 (patch) | |
tree | 8838d57b9db4175ed924aac9b980a0fbcdf51567 /README | |
parent | 14e2d7f15cb051d988f8efc948b6642fcfc4a996 (diff) | |
download | rgblightstone-ee6e27219e8aa9d4d8981ab0a952e3b0595f3948.tar rgblightstone-ee6e27219e8aa9d4d8981ab0a952e3b0595f3948.tar.gz rgblightstone-ee6e27219e8aa9d4d8981ab0a952e3b0595f3948.tar.bz2 rgblightstone-ee6e27219e8aa9d4d8981ab0a952e3b0595f3948.tar.xz rgblightstone-ee6e27219e8aa9d4d8981ab0a952e3b0595f3948.zip |
Add group addressing
Diffstat (limited to 'README')
-rw-r--r-- | README | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -35,3 +35,22 @@ off, black, blue, brown, cyan, darkblue, darkcyan, darkgray, darkgreen, darkmage Adding more colors: Provide a texture named "rgblightstone_color.png" (where "color" is the color you want to add) and call rgblightstone.add(color) + +Group addressing mode: + +If you are building something with large numbers of these things, set them all to the same channel, set X and Y addresses on each, and send nested tables (Y on the outside) with colors for all of them. +For example, given this display: + +X=1 Y=1 X=2 Y=1 + +X=1 Y=2 X=2 Y=2 + +to make it show: + +red green +blue yellow + +send this: + +{{"red","green"}, +{"blue","yellow"}} |