Skip to content

Pybricks Remote RGB Mode? #447

Answered by dlech
Vinz1911 asked this question in Q&A
Discussion options

You must be logged in to vote

[0x0A, 0x00, 0x81, 0x52, 0x00, 0x00, 0x51, 0x01, 0x0A, 0xFF]

I think it should be:

[
    0x0A, # length
    0x00, # hub
    0x81, # message type
    0x34, # port
    0x00, # startup and completion
    0x51, # command
    0x01, # mode
    0xXX, # red
    0xXX, # green
    0xXX, # blue
]

The port is 52 decimal, so 0x34 hex. And the startup and completion are combined in one byte.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Vinz1911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants