pimoroni-pico/drivers/st7789
Phil Howard 6022928517 Fix Pico Explorer SPI for #162
The switch to common I2C and common definitions for SPI had broken an edge case in Pico Explorer where no backlight pin is used.

The backlight pin was inadvertently set to the front Breakout Garden SPI slot default, which is pin 20- this also happens to be the I2C SDA pin for Pico Explorer, breaking I2C comms.

This fix adds a new special case board "PICO_EXPLORER_ONBOARD" so that ST7789 can be initialised without the backlight pin.

This will be useful for anyone using ST7789 without the rest of the Pico Explorer library, although it feels a little contrived.

Also switches ST7735 over to the common defines.
2021-06-05 19:06:11 +01:00
..
CMakeLists.txt Cleaner RASET, CASET and MADCTL handling 2021-03-29 13:18:31 +01:00
st7789.cmake Micropython bindings for ColourLCD and minor tweaks for ST7789, and RoundLCD 2021-05-07 13:48:51 +01:00
st7789.cpp Add a common header for pins and settings 2021-05-14 21:55:19 +01:00
st7789.hpp Fix Pico Explorer SPI for #162 2021-06-05 19:06:11 +01:00