raspberrypi / pico-examples

BSD 3-Clause "New" or "Revised" License
2.84k stars 820 forks source link

Issue #370 fix #418

Open mkerna opened 1 year ago

mkerna commented 1 year ago

This fixes issue #370. Some displays will require changing #define SPI_POLARITY to 1.

mkerna commented 1 year ago

I made the changes.

techrah commented 7 months ago

Thanks for this fix. Wiring up the CS pin did not work for me but this did.

marcoswada commented 5 months ago

Thanks for the fix. This worked for me as well.

cshaa commented 4 months ago

I have a 240x240 display with a ST7789 driver with no CS pin, for which the current PIO example doesn't work. This PR with SPI_POLARITY set to 1 works flawlessly.