diff --git a/src/main.rs b/src/main.rs index efad9d5..bb0654d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,16 @@ -mod iq_reader; +use crate::iq_reader::FileSource; +use std::error::Error; -fn main() { - println!("Hello, world!"); +mod agc; +mod iq_reader; +mod plot; + +fn main() -> Result<(), Box> { + let source = FileSource::new("test.iq", 32769)?; + + // for chunk in source { + // println!("{chunk :?}"); + // } + + Ok(()) }