Using an esp32 C3 to drive a display with ucglib.h. at the same time I'm controlling some attenuators using SPI.h - different CS lines.
All works fairly well but I want to slow down the SPI clock for the attenuators.
So, I use SPI.beginTransaction(SPIsettings(1000000, MSBFIRST, SPI_MODE0));
and SPI.endTransaction();
As soon as I introduce these the ucglib control of the display fails regardless of what settings I have in the SPIsettings.
The two libraries seem to be upsetting each other. Any way round this?
Don't have enough pins on the C3 to implement 2 busses.