logi-fix.js aktualisiert

This commit is contained in:
s-mendyka 2024-06-06 00:52:49 +02:00
parent db9f913b45
commit 61cdd4ec25

View File

@ -124,14 +124,15 @@ function sendColors(overrideColor) {
// packet = [0x11, 0xFF, 0x10, 0x1A].concat(RGBDataExtra.splice(0, ledsToSend*4)); // packet = [0x11, 0xFF, 0x10, 0x1A].concat(RGBDataExtra.splice(0, ledsToSend*4));
// device.write(packet, 20); // device.write(packet, 20);
// device.pause(1); // device.pause(1);
}
const RGBDataExtra2 = [0xB7, 0x00, 0xFF, 0x00]; const RGBDataExtra2 = [0xB7, 0x00, 0xFF, 0x00];
const ledsToSend2 = 1; const ledsToSend2 = 1;
const packet2 = [0x11, 0xFF, 0x10, 0x1A].concat(RGBDataExtra2.splice(0, ledsToSend2 * 4)); const packet2 = [0x11, 0xFF, 0x10, 0x1A].concat(RGBDataExtra2.splice(0, ledsToSend2 * 4));
device.write(packet2, 20); device.write(packet2, 20);
device.pause(1); device.pause(1);
}
} }
function applyExtra() { function applyExtra() {