Browse Source

Fix GTM32 Rev B LCD pins (#18293)

Lukas Erlacher 5 years ago
parent
commit
9a52193cc6
No account linked to committer's email address
1 changed files with 7 additions and 6 deletions
  1. 7
    6
      Marlin/src/pins/stm32f1/pins_GTM32_REV_B.h

+ 7
- 6
Marlin/src/pins/stm32f1/pins_GTM32_REV_B.h View File

@@ -145,12 +145,13 @@
145 145
     // RepRapDiscount Smart Controller, but adds an FFC40 connector
146 146
     // connected with a flat wire to J2 connector on the board.
147 147
     //
148
-    #define LCD_PINS_RS                     PE6   // CS chip select /SS chip slave select
149
-    #define LCD_PINS_ENABLE                 PE14  // SID (MOSI)
150
-    #define LCD_PINS_D4                     PD8   // SCK (CLK) clock
151
-    #define LCD_PINS_D5                     PD9
152
-    #define LCD_PINS_D6                     PD10
153
-    #define LCD_PINS_D7                     PE15
148
+    #define LCD_PINS_RS                     PA12  // CS chip select /SS chip slave select
149
+    // RW is hardwired to VSS
150
+    #define LCD_PINS_ENABLE                 PC7   // SID (MOSI)
151
+    #define LCD_PINS_D4                     PD1   // SCK (CLK) clock
152
+    #define LCD_PINS_D5                     PD4
153
+    #define LCD_PINS_D6                     PD5
154
+    #define LCD_PINS_D7                     PD7
154 155
 
155 156
     #define BTN_EN1                         PE8
156 157
     #define BTN_EN2                         PE9

Loading…
Cancel
Save