aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/display.rs')
-rw-r--r--src/drivers/display.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/drivers/display.rs b/src/drivers/display.rs
new file mode 100644
index 0000000..77bacf6
--- /dev/null
+++ b/src/drivers/display.rs
@@ -0,0 +1,18 @@
+use crate::board::pins::*;
+
+pub struct Display {
+}
+
+impl Display {
+ pub fn new() -> Self {
+ Self {}
+ }
+
+ pub fn init(&mut self) {
+ log::info!("display Initialized!!");
+ }
+
+ pub fn draw_text(&mut self, text: &str) {
+ log::info!("{}", text);
+ }
+}