Okay, I'm using u8g2
library for my OLED display. After calling SD.begin(4) function, I cannot display anything on my OLED.
I'm using U8G2_SH1106_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);
constructor from u8g2
library since I'm using I²C
for the display and SPI for microSD reader. I removed the CS Pin 4
from SD.begin()
and I can now display something on the OLED.
How did supplying CS Pin parameter to SD.begin()
function affected the I²C
OLED display?