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

Pr/38 #39

Merged
merged 18 commits into from
Sep 24, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reverting to original to resolve merge conflicts
  • Loading branch information
poltow committed Aug 23, 2016
commit d16f3c41ded6a1d8a47d4eb9086c2c2485e475e5
40 changes: 2 additions & 38 deletions ColorsMK1.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,21 @@
class Rgb:
BLACK = Color(4)

#RED
RED = Color(7)
RED_FULL = Color(7)
RED_HALF = Color(6)
RED_THIRD = Color(5)

RED_BLINK = Color(11)
RED_BLINK_HALF = Color(10)
RED_BLINK_THIRD = Color(9)

#GREEN
GREEN = Color(52)
GREEN_FULL = Color(52)
GREEN_HALF = Color(36)
GREEN_THIRD = Color(20)

GREEN_BLINK = Color(56)
GREEN_BLINK_HALF = Color(40)
GREEN_BLINK_THIRD = Color(24)

#AMBER
AMBER = Color(55)
AMBER_FULL = Color(55)
AMBER_HALF = Color(38)
AMBER_THIRD = Color(21)

AMBER_BLINK = Color(59)
AMBER_BLINK_HALF = Color(42)
AMBER_BLINK_THIRD = Color(25)

#YELLOW
YELLOW = Color(54)
YELLOW_FULL = Color(54)
YELLOW_HALF = Color(37)

YELLOW_BLINK = Color(58)
YELLOW_BLINK_HALF = Color(41)

#ORANGE
ORANGE = Color(39)
ORANGE_FULL = Color(39)
ORANGE_HALF = Color(22)

ORANGE_BLINK = Color(43)
ORANGE_BLINK_HALF = Color(26)

#MISC
MANDARIN = Color(23)
MANDARIN_FULL = Color(23)
ORANGE_BLINK = Color(27)

LIME = Color(43)
LIME_FULL = Color(43)
LIME_BLINK = Color(47)
AMBER_BLINK = Color(21)

2 changes: 1 addition & 1 deletion InstrumentControllerComponent.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def _update_matrix(self):
button.set_enabled(True)
button.force_next_send()

#self._control_surface._config_button.send_value(32)#Send enable flashing led config message to LP
#self._control_surface._config_button.send_value(32)


def tuple_idx(self, tuple, obj):
Expand Down
467 changes: 234 additions & 233 deletions Launchpad.py

Large diffs are not rendered by default.

Loading