logi-fix.js aktualisiert
This commit is contained in:
parent
b9d87314ea
commit
42376900aa
@ -121,8 +121,8 @@ function sendColors(overrideColor) {
|
||||
while(RGBDataExtra.length > 0) {
|
||||
const ledsToSend = Math.min(4, RGBDataExtra.length/4);
|
||||
|
||||
packet = [0x11, 0xFF, 0x10].concat(RGBDataExtra.splice(0, ledsToSend*4));
|
||||
|
||||
//packet = [0x11, 0xFF, 0x10, 0x1F].concat(RGBDataExtra.splice(0, ledsToSend*4));
|
||||
packet = [ 0x11, 0xff, 0x10, 0x1a, 0x04, 0x00, 0xa1, 0xa1, 0x06, 0x00, 0xd6, 0xd6, 0x29, 0x00, 0x75, 0x75, 0x69, 0x00, 0x11, 0x11 ]
|
||||
device.write(packet, 20);
|
||||
|
||||
device.pause(1);
|
||||
|
Loading…
Reference in New Issue
Block a user