Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More commands #1

Open
Itaybre opened this issue Jul 3, 2016 · 3 comments
Open

More commands #1

Itaybre opened this issue Jul 3, 2016 · 3 comments

Comments

@Itaybre
Copy link

Itaybre commented Jul 3, 2016

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?

@mimfgg
Copy link
Owner

mimfgg commented Jul 5, 2016

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

@Itaybre
Copy link
Author

Itaybre commented Jul 6, 2016

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

@mimfgg
Copy link
Owner

mimfgg commented Jul 6, 2016

That's really cool!

Thanks a lot, I will add those to my script when I have a bit of time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants