Closed expipiplus1 closed 1 year ago
I can change this setting from a windows VM and sniff the packets,
I do see the data as passed by uni-sync:
However I guess that there is something else necessary in the other packets.
Ah, it seems like the calculation for channel_byte was incorrect, this works.
// Disable Sync to fan header
let mut channel_byte = 0x10 << x;
if channels[x].mode == "PWM" {
channel_byte = channel_byte | 0x1 << x;
}
Much cleaner too, thanks a bunch!
Maybe even cleaner would be (mode == PWM ? 0x11 : 0x10) << x
Setting a manual speed works fine.
Setting a channel to PWM however just seems to go to some default low speed.
I've tested this with two PWM ports on the motherboard, one fixed-full speed one.
The connector is seated correctly as I can control the LEDs through the motherboard argb header.