diff --git a/logi-fix.js b/logi-fix.js index b855946..4bc6560 100644 --- a/logi-fix.js +++ b/logi-fix.js @@ -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);