diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 419e7f7..ee48cf8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,9 @@ + +mod board; +mod drivers; + +use drivers::display::Display; + fn main() { // It is necessary to call this function once. Otherwise, some patches to the runtime // implemented by esp-idf-sys might not link properly. See https://github.com/esp-rs/esp-idf-template/issues/71 @@ -6,5 +12,10 @@ fn main() { // Bind the log crate to the ESP Logging facilities esp_idf_svc::log::EspLogger::initialize_default(); - log::info!("Hello, world!"); + log::info!("ORION-RF Booted!!"); + let mut display = Display::new(); + + display.init(); + display.draw_text("ORION-RF"); + } |
