logi-fix.js aktualisiert

This commit is contained in:
s-mendyka 2024-06-05 21:55:59 +02:00
parent 7d1e32e228
commit d6ae2b7b43

View File

@ -120,7 +120,7 @@ function sendColors(overrideColor) {
while(RGBDataExtra.length > 0) {
const ledsToSend = Math.min(4, RGBDataExtra.length/4);
packet = [0x11, 0xFF, 0x10, 0x1A].concat(RGBDataExtra.splice(0, ledsToSend*4));
packet = [0x11, 0xFF, 0x10, 0x1F].concat(RGBDataExtra.splice(0, ledsToSend*4));
device.write(packet, 20);
@ -132,7 +132,7 @@ function sendColors(overrideColor) {
}
function applyExtra() {
const packet = [0x11, 0xFF, 0x10, 0x7A];
const packet = [0x11, 0xFF, 0x10, 0x7E];
device.write(packet, 20);
}