print driven development

This commit is contained in:
Vladan Popovic 2022-06-10 01:32:52 +02:00
parent e0230679c2
commit 985ec56e2a
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,10 @@
mod modem;
use esp_idf_sys as _; // If using the `binstart` feature of `esp-idf-sys`, always keep this module imported
fn main() {
println!("Hello, world!");
println!("Starting GPRS ...");
// TODO: start sim module
// TODO: connect to GPRS
println!("GPRS started ...");
}

3
src/modem.rs Normal file
View file

@ -0,0 +1,3 @@
pub struct Modem {
// TODO: connect to GPRS
}