animatrix simulator for ga402

This commit is contained in:
Luke D. Jones
2023-06-24 19:00:25 +12:00
parent 4611c08085
commit d3aababef5
5 changed files with 128 additions and 38 deletions

View File

@@ -23,6 +23,8 @@ pub struct Row(
pub usize,
/// The length to read inclusive
pub usize,
/// Offset to the right by how many LEDs
pub i32,
);
#[derive(Clone, Copy)]
@@ -47,7 +49,7 @@ impl AniMatrix {
},
Model::GA402 => LedShape {
vertical: 2,
horizontal: 3,
horizontal: 5,
},
Model::GU604 => LedShape {
vertical: 2,