File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,11 @@ const MAX_CURRENT: usize = 500;
44
44
///
45
45
/// BizLink HW Rev 2 has a larger current limiting resistor.
46
46
/// 100/255 results in 250mA current draw which is plenty bright.
47
+ /// 50/255 results in 160mA current draw which is plenty bright.
47
48
#[ cfg( feature = "10k" ) ]
48
49
const MAX_BRIGHTNESS : u8 = 94 ;
49
50
#[ cfg( not( feature = "10k" ) ) ]
50
- const MAX_BRIGHTNESS : u8 = 100 ;
51
+ const MAX_BRIGHTNESS : u8 = 50 ;
51
52
52
53
// TODO: Doesn't work yet, unless I panic right at the beginning of main
53
54
//#[cfg(not(debug_assertions))]
@@ -233,7 +234,7 @@ fn main() -> ! {
233
234
grid : percentage ( 0 ) ,
234
235
col_buffer : Grid :: default ( ) ,
235
236
animate : false ,
236
- brightness : 26 , // Default to 26 /255 = 10 % brightness
237
+ brightness : 51 , // Default to 51 /255 = 20 % brightness
237
238
sleeping : SleepState :: Awake ,
238
239
game : None ,
239
240
animation_period : 31_250 , // 31,250 us = 32 FPS
You can’t perform that action at this time.
0 commit comments