I am trying to build a data logger with the LCD 12864B V2.0 and an SD card reader, both SPI (after I have understood the wiring, thanks to this forum).
I have wired the SS of the display to pin 10 and the SS of the SD card to pin 5. It does work, but all kinds of weird stuff happen on the display.
I have tried experimenting with setting pin 10 high and low, but that did not help.
No, that did not help.
By the way, I have both the SD card reader and the backlight running on 3.3v from the arduino. The backlight is dimming slightly when the SD card is accessed. But that won't have anything to do with my problem?
Uh! Thank you for your research. However, I have no idea how to do that, especially not with the U8g2lib.
Would it make sense to use a transistor to allow the MOSI signal to the display only when SS is high?
Thanks a lot, David!
I have tried fiddling around with diodes and a resistor, but that did nothing but introduce more problems.
But you were right, SW SPI works like a charm and solves all my problems. Well, at least those with the display. Great!