Open the H file of LCD and
find 3 codes about the operation of LCD writing
void LCD_WriteReg(u8 LCD_Reg, u16 LCD_RegValue);
void LCD_WriteRAM_Prepare(void);
void LCD_WriteRAM(u16 RGB_Code);
Then add this sentence at the beginning of each function
u16 PinC_out = GPIOC->ODR;
Add at the end
GPIOC->ODR =PinC_out;
Get it done
————————————————————————————————
But later I found that this method did not turn off the light and I do
n’t know Where is the problem, stay here first