yuri91 / ili9341-rs

A WIP, no_std, generic driver for the ILI9341 (and ILI9340C) TFT LCD display
Apache License 2.0
57 stars 50 forks source link

Version 0.6.0 not working with SPIInterface anymore #47

Open malteki opened 3 months ago

malteki commented 3 months ago

Hi, I was recently experimenting with my stm32f429 board and discovered (a copy of) this crate here. Today I tried to implement the newest version (0.6.0) in my project to use the lcd, but the SPIInterface::new() doesnt work like it does in the example in the docs. This is because the newest version of display-interface-spi no longer takes the "chip-select pin" as argument (like it did in the older version) and therefore no longer implements the SpiDevice trait from the embedded-hal crate which is needed for the WriteOnlyDataCommand trait (but the Ili9341::new(...) function requires the "interface" argument to implement that trait)

I would really appreciate, if someone could tell me what to do for going around that 👍

paullj commented 3 weeks ago

Getting the same issue, did you manage to resolve it?

malteki commented 3 weeks ago

Wait why did I close it 🥲

No I couldn't fix it, but the other version/copy (linked in my first message) works perfectly fine