A new screen has been installed on the stock motherboard. The screen works on the SPI bus, and has contacts DOGLCD_A0, DOGLCD_CS, MOSI, SCK. On the Arduino Uno controller, the screen works correctly when using the u8glib.h library (class U8GLIB_MINI12864).
On Creality3D V1.1.4, the screen does not work. In the Configuration.h file, the screen is written as MKS_LCD12864A.
The DOGLCD_A0 pin of the screen is connected to the LCD_PINS_D4 pin (according to pins_SANGUINOLOLU_11.h).
The DOGLCD_CS pin of the screen is connected to the LCD_PINS_RS pin (according to pins_SANGUINOLOLU_11.h).
Also, to check, the MOSI pin and SCK pin of the screen were connected to the MOSI pin and SCK pin on the board. But the result turned out to be negative - the backlight, the encoder key and the beeper are working, but there is no image at all on the screen.
For verification, a definition was added:
define DOGLCD_MOSI BEEPER_PIN
define DOGLCD_SCK LCD_PINS_ENABLE
Defined pins were connected to the screen, but again with no result.
Tell me please, what am I doing wrong? Marlin Firmware v2.0.9.1
Upload and edit via VSCode + PlatformIO
A new screen has been installed on the stock motherboard. The screen works on the SPI bus, and has contacts DOGLCD_A0, DOGLCD_CS, MOSI, SCK. On the Arduino Uno controller, the screen works correctly when using the u8glib.h library (class U8GLIB_MINI12864). On Creality3D V1.1.4, the screen does not work. In the Configuration.h file, the screen is written as MKS_LCD12864A. The DOGLCD_A0 pin of the screen is connected to the LCD_PINS_D4 pin (according to pins_SANGUINOLOLU_11.h). The DOGLCD_CS pin of the screen is connected to the LCD_PINS_RS pin (according to pins_SANGUINOLOLU_11.h). Also, to check, the MOSI pin and SCK pin of the screen were connected to the MOSI pin and SCK pin on the board. But the result turned out to be negative - the backlight, the encoder key and the beeper are working, but there is no image at all on the screen. For verification, a definition was added:
define DOGLCD_MOSI BEEPER_PIN
define DOGLCD_SCK LCD_PINS_ENABLE
Defined pins were connected to the screen, but again with no result. Tell me please, what am I doing wrong? Marlin Firmware v2.0.9.1 Upload and edit via VSCode + PlatformIO