logi-fix.js aktualisiert

This commit is contained in:
s-mendyka 2024-06-06 00:13:18 +02:00
parent 86b6190950
commit 98f6755f01

View File

@ -122,16 +122,15 @@ function sendColors(overrideColor) {
const ledsToSend = Math.min(4, RGBDataExtra.length/4);
packet = [0x11, 0xFF, 0x10, 0x1F].concat(RGBDataExtra.splice(0, ledsToSend*4));
device.write(packet, 20);
device.pause(1);
applyExtra();
packet = [ 0x11, 0xff, 0x10, 0x1a, 0x54, 0x00, 0xec, 0xec, 0x59, 0x00, 0x80, 0x80, 0x5a, 0x00, 0xd9, 0xd9, 0x5b, 0x00, 0xa5, 0xa5 ];
device.write(packet, 20);
device.pause(1);
}
packet = [ 0x11, 0xff, 0x10, 0x1a, 0x54, 0x00, 0xec, 0xec, 0x59, 0x00, 0x80, 0x80, 0x5a, 0x00, 0xd9, 0xd9, 0x5b, 0x00, 0xa5, 0xa5 ];
device.write(packet, 20);
applyExtra();