Skip to content

how to setup spi screen #2522

Discussion options

You must be logged in to vote

ok yep
i replace SPIInterface by SPIInterfaceNoCS::new(spi, dc); because my cs is already set in the spi setup

and i use this instead

    let sclk = io.pins.gpio13;
    let miso = io.pins.gpio12;
    let mosi = io.pins.gpio11;
    let cs_screen = Output::new(io.pins.gpio9,Level::High);
    let cs_touch = io.pins.gpio10;
    let rst = Output::new(io.pins.gpio18,Level::High);
    let dc = Output::new(io.pins.gpio17,Level::High);

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@moolight-seashell
Comment options

Comment options

You must be logged in to vote
2 replies
@moolight-seashell
Comment options

@moolight-seashell
Comment options

Answer selected by moolight-seashell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants