Krolyxon
Commit dd33723

Branches

Tags

Refs →

orion-rfsrcdriversdisplay.rs

18 lines · 284 B · Rust

1use crate::board::pins::*;
2
3pub struct Display {
4}
5
6impl Display {
7 pub fn new() -> Self {
8 Self {}
9 }
10
11 pub fn init(&mut self) {
12 log::info!("display Initialized!!");
13 }
14
15 pub fn draw_text(&mut self, text: &str) {
16 log::info!("{}", text);
17 }
18}