Browse Source

Better ST7920 timings for FYSETC S6 (#16022)

Jason Smith 5 years ago
parent
commit
ce9a4afe95
1 changed files with 9 additions and 5 deletions
  1. 9
    5
      Marlin/src/pins/stm32/pins_FYSETC_S6.h

+ 9
- 5
Marlin/src/pins/stm32/pins_FYSETC_S6.h View File

95
 #if HAS_TMC220x
95
 #if HAS_TMC220x
96
   /**
96
   /**
97
    * TMC2208/TMC2209 stepper drivers
97
    * TMC2208/TMC2209 stepper drivers
98
-   *
99
    */
98
    */
100
 
99
 
101
   //
100
   //
214
 
213
 
215
 // Alter timing for graphical display
214
 // Alter timing for graphical display
216
 #if HAS_GRAPHICAL_LCD
215
 #if HAS_GRAPHICAL_LCD
217
-  #define BOARD_ST7920_DELAY_1 DELAY_NS(96)
218
-  #define BOARD_ST7920_DELAY_2 DELAY_NS(48)
219
-  #define BOARD_ST7920_DELAY_3 DELAY_NS(600)
216
+  #ifndef BOARD_ST7920_DELAY_1
217
+    #define BOARD_ST7920_DELAY_1 DELAY_NS(103)
218
+  #endif
219
+  #ifndef BOARD_ST7920_DELAY_2
220
+    #define BOARD_ST7920_DELAY_2 DELAY_NS(51)
221
+  #endif
222
+  #ifndef BOARD_ST7920_DELAY_3
223
+    #define BOARD_ST7920_DELAY_3 DELAY_NS(642)
224
+  #endif
220
 #endif
225
 #endif
221
 
226
 
222
 #ifndef RGB_LED_R_PIN
227
 #ifndef RGB_LED_R_PIN
231
 #ifndef RGB_LED_W_PIN
236
 #ifndef RGB_LED_W_PIN
232
   #define RGB_LED_W_PIN    -1
237
   #define RGB_LED_W_PIN    -1
233
 #endif
238
 #endif
234
-

Loading…
Cancel
Save