diff options
| author | krolyxon <me@krolyxon.com> | 2026-06-20 00:47:08 +0530 |
|---|---|---|
| committer | krolyxon <me@krolyxon.com> | 2026-06-20 00:47:08 +0530 |
| commit | ab699e4c1387aee7bfdd116d35eb1b9289fc0a71 (patch) | |
| tree | 355fd3e7ea818b0db14f1c694adbd7c7d3bfe49e /src/main.rs | |
| parent | 7e4cfad53699fabbecb6696508e5addcffc1b095 (diff) | |
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"); + } |
