Skip to content

Commit

Permalink
Issue #1447: fix brightness for 8 and 9 level
Browse files Browse the repository at this point in the history
  • Loading branch information
bjost2s committed Jan 23, 2023
1 parent 3087533 commit 799d0c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,7 @@ define(["require", "exports", "interpreter.constants", "simulation.math", "guiSt
[0, 0, 0, 0, 0],
];
_this.brightness = 255;
_this.color = ['255,255,255', '255,226,99', '255,227,0', '255,219,0', '255,201,0', '255,184,0', '255,143,0', '255, 113, 0', '255, 0, 0', '255, 76, 2'];
_this.color = ['255,255,255', '255,226,99', '255,227,0', '255,219,0', '255,201,0', '255,184,0', '255,143,0', '255, 113, 0', '255, 76, 2', '255, 0, 0'];
_this.dx = 60;
_this.dy = 60;
_this.r = 10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2129,7 +2129,7 @@ export class MbedDisplay extends MatrixDisplay {
[0, 0, 0, 0, 0],
];
brightness: number = 255;
color: string[] = ['255,255,255', '255,226,99', '255,227,0', '255,219,0', '255,201,0', '255,184,0', '255,143,0', '255, 113, 0', '255, 0, 0', '255, 76, 2'];
color: string[] = ['255,255,255', '255,226,99', '255,227,0', '255,219,0', '255,201,0', '255,184,0', '255,143,0', '255, 113, 0', '255, 76, 2', '255, 0, 0'];
dx: number = 60;
dy: number = 60;
r: number = 10;
Expand Down

0 comments on commit 799d0c6

Please sign in to comment.