6022928517
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
st7735.cmake | ||
st7735.cpp | ||
st7735.hpp |