logi-fix.js aktualisiert
This commit is contained in:
parent
db9f913b45
commit
61cdd4ec25
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user