Skip to content

Commit 607a6a4

Browse files
Merge pull request #68 from FrameworkComputer/bz-rev2
2 parents 4669614 + 9d0664a commit 607a6a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ledmatrix/src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ const SLEEP_TIMEOUT: u64 = 60_000_000;
4040
const MAX_CURRENT: usize = 500;
4141

4242
/// Maximum brightness out of 255
43-
/// Set to 94 because that results in just below 500mA current draw.
44-
const MAX_BRIGHTNESS: u8 = 94;
43+
/// On HW Rev 1 from BizLink set to 94 to have just below 500mA current draw.
44+
/// BizLink HW Rev 2 has a larger current limiting resistor
45+
const MAX_BRIGHTNESS: u8 = 255;
4546

4647
// TODO: Doesn't work yet, unless I panic right at the beginning of main
4748
//#[cfg(not(debug_assertions))]

0 commit comments

Comments
 (0)