Commit e8e7cc27 authored by TechnoElf's avatar TechnoElf
Browse files

Gas Gas Gas

parent 6ac7bad6
......@@ -7,7 +7,7 @@ use embedded_graphics::pixelcolor::Rgb565;
use embedded_graphics::draw_target::DrawTarget;
fn main() {
let spi_bus = Spi::new(Bus::Spi0, SlaveSelect::Ss0, 1000, Mode::Mode0).unwrap();
let spi_bus = Spi::new(Bus::Spi0, SlaveSelect::Ss0, 5000000, Mode::Mode0).unwrap();
let dc = Gpio::new().unwrap().get(12).unwrap().into_output();
let rst = Gpio::new().unwrap().get(13).unwrap().into_output();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment