-
Notifications
You must be signed in to change notification settings - Fork 12
Description
This library was probably written before the new SPI transactions protocol was published, but without that protocol, this library only works if the display (in my case, the ILI9341) is the only hardware SPI device connected to the microcontroller. Add a second SPI hw device, and Pixels isn't able to reassert control of the SPI port.
The general method is pretty straightforward -
// Call this before you start an SPI read/write operation
SPI.beginTransaction(SPISettings(SPICLOCK, MSBFIRST, SPI_MODE0));
[Insert SPI communication code...]
SPI.endTransaction();
I was able to get the drawCompressedBitmap function working with SPI transactions, but I really need the fonts and text printing functionality to work too (and I had less luck with that). Any chance of updating the library to support SPI transactions?