We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 163b0c0 commit f2d0037Copy full SHA for f2d0037
ledmatrix/src/main.rs
@@ -41,11 +41,13 @@ const MAX_CURRENT: usize = 500;
41
42
/// Maximum brightness out of 255
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
+/// BizLink HW Rev 2 has a larger current limiting resistor.
46
+/// 100/255 results in 250mA current draw which is plenty bright.
47
#[cfg(feature = "10k")]
48
const MAX_BRIGHTNESS: u8 = 94;
49
#[cfg(not(feature = "10k"))]
-const MAX_BRIGHTNESS: u8 = 255;
50
+const MAX_BRIGHTNESS: u8 = 100;
51
52
// TODO: Doesn't work yet, unless I panic right at the beginning of main
53
//#[cfg(not(debug_assertions))]
0 commit comments