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;
4444///
4545/// BizLink HW Rev 2 has a larger current limiting resistor.
4646/// 100/255 results in 250mA current draw which is plenty bright.
47+ /// 50/255 results in 160mA current draw which is plenty bright.
4748#[ cfg( feature = "10k" ) ]
4849const MAX_BRIGHTNESS : u8 = 94 ;
4950#[ cfg( not( feature = "10k" ) ) ]
50- const MAX_BRIGHTNESS : u8 = 100 ;
51+ const MAX_BRIGHTNESS : u8 = 50 ;
5152
5253// TODO: Doesn't work yet, unless I panic right at the beginning of main
5354//#[cfg(not(debug_assertions))]
@@ -233,7 +234,7 @@ fn main() -> ! {
233234 grid : percentage ( 0 ) ,
234235 col_buffer : Grid :: default ( ) ,
235236 animate : false ,
236- brightness : 26 , // Default to 26 /255 = 10 % brightness
237+ brightness : 51 , // Default to 51 /255 = 20 % brightness
237238 sleeping : SleepState :: Awake ,
238239 game : None ,
239240 animation_period : 31_250 , // 31,250 us = 32 FPS
You can’t perform that action at this time.
0 commit comments