Skip to content

Commit

Permalink
Merge pull request #68 from FrameworkComputer/bz-rev2
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAZoidberg authored Aug 31, 2023
2 parents 4669614 + 9d0664a commit 607a6a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ledmatrix/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ const SLEEP_TIMEOUT: u64 = 60_000_000;
const MAX_CURRENT: usize = 500;

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

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

0 comments on commit 607a6a4

Please sign in to comment.