Initial groundwork of animatrix

This commit is contained in:
Luke
2020-05-31 12:21:04 +12:00
parent ca5d625cec
commit d9fc7de5cb
14 changed files with 490 additions and 162 deletions

View File

@@ -0,0 +1,13 @@
use rog_aura::AnimatrixDbusWriter;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut writer = AnimatrixDbusWriter::new()?;
let mut send_buffer = [vec![0; 640], vec![0; 640]];
loop {
writer.write_image(&send_buffer)?;
//std::thread::sleep(std::time::Duration::from_millis(60));
}
}

View File

@@ -23,7 +23,5 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}
writer.write_colour_block(&key_colours)?;
//std::thread::sleep(std::time::Duration::from_millis(250));
}
}