SSD1362 OLED Driver crate
SPI Driver crate for SSD1362 OLED displays with resolution of 256x64.
How to build and run:
cargo build --example terminal
cargo run --example terminal
Example usage:
use ;
// ... code omitted
let spi = dp.SPI1.spi;
// do power on reset
rst.set_low.unwrap;
delay.delay;
rst.set_high.unwrap;
en_16v.set_high.unwrap;
let interface = new;
let display = new;
let font = Font6x8 ;
let mut terminal = new;
terminal.init.unwrap;
writeln!.unwrap;
terminal.render.unwrap;