Skip to content

Fixing some typos and mistakes around SetRgbColors#31

Open
vadimonus wants to merge 5 commits intoLEGO:masterfrom
vadimonus:patch-1
Open

Fixing some typos and mistakes around SetRgbColors#31
vadimonus wants to merge 5 commits intoLEGO:masterfrom
vadimonus:patch-1

Conversation

@vadimonus
Copy link

Some fixes around SetRgbColors

  • fixes method name. SetRgbColors fo Red-Green-Blue params, and SetRgbColorNo for ColorNumber param. In some places was mixed
  • mistakely SetRgbColors was referenced in TiltConfigOrientation block
  • fixed. SetRgbColors works in Mode 1, not in Mode 0
  • fixed sequence for SetRgbColors 0x51, 0x01, R, G, B is right (0x51, 0x00, 0x51, 0x01, R, G, B is wrong)

checked behaviour with sources of https://github.com/undera/pylgbst , https://github.com/corneliusmunz/legoino, https://github.com/sharpbrick/powered-up

vadimonus and others added 5 commits December 7, 2025 13:01
Change SetRgbColorNo to SetRgbColors when speakign about RGB for consistency with other places
Fixing misused SetRgbColors to TiltConfigOrientation
update version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant