Open Itaybre opened 8 years ago
Hi,
Sure, I implemented what I needed but more commands would be nice :)
What do you mean by effects on the LEDs? like health color and things like this?
Cheers
I mean the ColorShift effect or breathing But I got them, in fact I got most of the commands: Color Mode: 0x01, 0x00, 0x04, 0x00, 0x09, 0x00, 0x00, 0x23, 0x2d, 0xb3, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x30, mode, 0x00, 0x00 0x01, 0x00, 0x01, 0x00, 0x0a, 0x00, 0x00, 0x23, 0x2d, 0xb3, 0x01 while mode is: 1-Steady, 2-Breathing Slow, 3-Breathing Medium, 4-Breathing Fast, 5-Audio Trigger
and to do an effect like colour change you need this to set mode to Steady and then send this command: 0x01, 0x00, 0x04, 0x00, 0x53, 0x00, 0x00, 0x23, 0x2D, 0xB3, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x20, RED, GREEN, BLUE Usually sent every 100ms
And dobly Dobly OFF: 0x01, 0x00, 0x04, 0x00, 0x3E, 0x00, 0x00, 0x23, 0x2D, 0xB3, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF 0x01, 0x00, 0x04, 0x00, 0x32, 0x00, 0x00, 0x33, 0x2D, 0xB7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0x2C, 0x47, 0x07 0x01, 0x00, 0x01, 0x00, 0x07, 0x00, 0x04, 0xE1, 0x2C, 0x47, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 0x01, 0x00, 0x01, 0x00, 0x07, 0x00, 0x03, 0xE1, 0x2C, 0x47, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 Dobly ON: 0x01, 0x00, 0x04, 0x00, 0x3E, 0x00, 0x00, 0x23, 0x2D, 0xB3, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 0x01, 0x00, 0x01, 0x00, 0x07, 0x00, 0x04, 0xE1, 0x2C, 0x47, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 0x01, 0x00, 0x01, 0x00, 0x07, 0x00, 0x04, 0xE1, 0x2C, 0x47, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 0x01, 0x00, 0x04, 0x00, 0x32, 0x00, 0x00, 0x33, 0x2D, 0xB7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xE1, 0x2C, 0x47, 0x07 Not sure if the order is important here
I also got the codes for the EQ, but I couldn't decipher how it works, just copied the hex, all I could understand is that there is one line per channel
That's really cool!
Thanks a lot, I will add those to my script when I have a bit of time :)
I have some more commands if you are interested in them (Dolby audio, mic volume and equalizer) I am missing the ones for effects on the LEDs, do you have any clue on that?