According to this question, MKS 12864OLED Display setup, I need to add a patch to "Marlin_main.cpp
" but this a large file with 14789 lines of code! I don't know where I have to put this patch. Please help me.
patch:
/*---------------MKS OLED patch_3-----------------------*/
#if defined (MKS_OLED96_128x64_FULL_GRAPHICS_CONTROLLER)
pinMode(LCD_PINS_DC, OUTPUT);
pinMode(LCD_PINS_RST, OUTPUT);
digitalWrite(LCD_PINS_RST , LOW);
delay(1000);
digitalWrite(LCD_PINS_RST , HIGH);
#endif
/*---------------MKS OLED patch_3-----------------------*/