Skip to content

Commit 4ef5a1d

Browse files
committed
ledmatrix: Don't do full off
To check noise, don't use full off, use very low voltage. Looks like off but isn't. Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent a153433 commit 4ef5a1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fl16-inputmodules/src/matrix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub const LEDS: usize = WIDTH * HEIGHT;
1010
pub struct Grid(pub [[u8; HEIGHT]; WIDTH]);
1111
impl Default for Grid {
1212
fn default() -> Self {
13-
Grid([[0; HEIGHT]; WIDTH])
13+
Grid([[10; HEIGHT]; WIDTH])
1414
}
1515
}
1616

fl16-inputmodules/src/patterns.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn draw(bytes: &[u8; DRAW_BYTES]) -> Grid {
3636
let val = if bytes[byte] & (1 << bit) > 0 {
3737
0xFF
3838
} else {
39-
0x00
39+
0x10
4040
};
4141
grid.0[8 - x][y] = val;
4242
}

0 commit comments

Comments
 (0)