Librairies SPI.h U8glib.h SD

fr:
Problème résolu :

Remplacer

U8GLIB_ST7920_128X64 u8g(52, 51, 48, U8G_PIN_NONE);

par

U8GLIB_ST7920_128X64_1X u8g(48);

Et tout fonctionne !

Hello, i meet the problem as same as you , i did as you said, it doesn't work,
is there are any solutions?thanks.
Also , the writer gives the solution, but i can't understand.
can you help me ?

setHardwareBackup
C++/Arduino: void U8GLIB::setHardwareBackup(u8g_state_cb backup_cb)
C: void u8g_SetHardwareBackup(u8g_t *u8g, u8g_state_cb backup_cb)
Description: The display can be connected to I/O pins which are also shared with other external devices. Examples are SPI, TWI or UART interfaces. Example: SD card and SPI displayshare Clock and Data pins (but have different chip select lines). The SD Card software uses the SPI hardware of the microcontroller to access the SD card, but U8glibshould use a software SPI mode. In such a case, the hardware state of the microcontroller SPI subsystem must be modified before access to SD card and display.This modification is activated by this procedure. Usage is: (1) Init u8glib, (2) call this procedure and (3) init other libraries.Available backup procedures:
u8g_backup_avr_spi: Backup SPI hardware state of an AVR microcontroller.
Arguments:
u8g : Pointer to the u8g structure (C interface only).
backup_cb: Hardware state backup procedure (specific to controller and hardware subsystem).
Returns:
Use: Outside picture loop.
Note: Available in v1.05.
**Example:**U8glib uses software SPI and SD library hardware SPI:

U8GLIB_DOGM128 u8g(7, 5, 1, 2);                    // SPI Com: SCK = 7, MOSI = 5, CS = 1, A0 = 2
...
void setup()  {
  ...
  // SPI backup: Avoid conflict between SW-SPI (u8glib) and HW-SPI (SD)
  u8g.setHardwareBackup(u8g_backup_avr_spi);
  ...
  // Setup Arduino SD library
  pinMode(SS, OUTPUT);
  if (SD.begin(23)) {
    mas_Init(mas_device_sd, NULL);
  }
  ...
}