瀏覽代碼

Correct SKR expansion port pins (#16974)

InsanityAutomation 4 年之前
父節點
當前提交
28008aced0
No account linked to committer's email address

+ 76
- 76
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h 查看文件

@@ -187,32 +187,32 @@
187 187
 
188 188
 /**
189 189
  *               _____                                              _____
190
- *           NC | · · | GND                                     5V | · · | GND
191
- *        RESET | · · | 1.31 (SD_DETECT)             (LCD_D7) 1.23 | · · | 1.22 (LCD_D6)
192
- *  (MOSI) 0.18 | · · | 3.25 (BTN_EN2)               (LCD_D5) 1.21 | · · | 1.20 (LCD_D4)
193
- * (SD_SS) 0.16 | · · | 3.26 (BTN_EN1)               (LCD_RS) 1.19 | · · | 1.18 (LCD_EN)
194
- *   (SCK) 0.15 | · · | 0.17 (MISO)                 (BTN_ENC) 0.28 | · · | 1.30 (BEEPER)
190
+ *           NC | 1 2 | GND                                     5V | 1 2 | GND
191
+ *        RESET | 3 4 | 1.31 (SD_DETECT)             (LCD_D7) 1.23 | 3 4 | 1.22 (LCD_D6)
192
+ *  (MOSI) 0.18 | 5 6   3.25 (BTN_EN2)               (LCD_D5) 1.21 | 5 6   1.20 (LCD_D4)
193
+ * (SD_SS) 0.16 | 7 8 | 3.26 (BTN_EN1)               (LCD_RS) 1.19 | 7 8 | 1.18 (LCD_EN)
194
+ *   (SCK) 0.15 | 9 10| 0.17 (MISO)                 (BTN_ENC) 0.28 | 9 10| 1.30 (BEEPER)
195 195
  *               -----                                              -----
196 196
  *               EXP2                                               EXP1
197 197
  */
198 198
 
199
-#define EXP1_1_PIN          P1_30
200
-#define EXP1_2_PIN          P1_18
201
-#define EXP1_3_PIN          P1_20
202
-#define EXP1_4_PIN          P1_22
203
-#define EXP1_6_PIN          P0_28
204
-#define EXP1_7_PIN          P1_19
205
-#define EXP1_8_PIN          P1_21
206
-#define EXP1_9_PIN          P1_23
207
-
208
-#define EXP2_1_PIN          P0_17
209
-#define EXP2_2_PIN          P3_26
210
-#define EXP2_3_PIN          P3_25
211
-#define EXP2_4_PIN          P1_31
212
-#define EXP2_6_PIN          P0_15
213
-#define EXP2_7_PIN          P0_16
214
-#define EXP2_8_PIN          P0_18
215
-#define EXP2_9_PIN          -1
199
+#define EXPA1_03_PIN        P1_23
200
+#define EXPA1_04_PIN        P1_22
201
+#define EXPA1_05_PIN        P1_21
202
+#define EXPA1_06_PIN        P1_20
203
+#define EXPA1_07_PIN        P1_19
204
+#define EXPA1_08_PIN        P1_18
205
+#define EXPA1_09_PIN        P0_28
206
+#define EXPA1_10_PIN        P1_30
207
+
208
+#define EXPA2_03_PIN        -1
209
+#define EXPA2_04_PIN        P1_31
210
+#define EXPA2_05_PIN        P0_18
211
+#define EXPA2_06_PIN        P3_25
212
+#define EXPA2_07_PIN        P0_16
213
+#define EXPA2_08_PIN        P3_26
214
+#define EXPA2_09_PIN        P0_15
215
+#define EXPA2_10_PIN        P0_17
216 216
 
217 217
 #if HAS_SPI_LCD
218 218
 
@@ -232,114 +232,114 @@
232 232
     *
233 233
     *                  BEFORE                          AFTER
234 234
     *                  _____                           _____
235
-    *           GND 1 | · · |  2 5V              5V 1 | · · |  2 GND
236
-    *            CS 3 | · · |  4 BTN_EN2         CS 3 | · · |  4 BTN_EN2
237
-    *           SID 5 | · · |  6 BTN_EN1        SID 5 | · · |  6 BTN_EN1
238
-    *          open 7 | · · |  8 BTN_ENC        CLK 7 | · · |  8 BTN_ENC
239
-    *           CLK 9 | · · | 10 Beeper        open 9 | · · | 10 Beeper
235
+    *           GND 1 | 1 2 |  2 5V              5V 1 | 1 2 |  2 GND
236
+    *            CS 3 | 3 4 |  4 BTN_EN2         CS 3 | 3 4 |  4 BTN_EN2
237
+    *           SID 5 | 5 6    6 BTN_EN1        SID 5 | 5 6    6 BTN_EN1
238
+    *          open 7 | 7 8 |  8 BTN_ENC        CLK 7 | 7 8 |  8 BTN_ENC
239
+    *           CLK 9 | 9 10| 10 Beeper        open 9 | 9 10| 10 Beeper
240 240
     *                  -----                           -----
241 241
     *                   LCD                             LCD
242 242
     */
243 243
 
244
-    #define LCD_PINS_RS    EXP1_9_PIN
244
+    #define LCD_PINS_RS    EXPA1_03_PIN
245 245
 
246
-    #define BTN_EN1        EXP1_3_PIN
247
-    #define BTN_EN2        EXP1_4_PIN
248
-    #define BTN_ENC        EXP1_2_PIN
246
+    #define BTN_EN1        EXPA1_06_PIN
247
+    #define BTN_EN2        EXPA1_04_PIN
248
+    #define BTN_ENC        EXPA1_08_PIN
249 249
 
250
-    #define LCD_PINS_ENABLE EXP1_8_PIN
251
-    #define LCD_PINS_D4    EXP1_7_PIN
250
+    #define LCD_PINS_ENABLE EXPA1_05_PIN
251
+    #define LCD_PINS_D4    EXPA1_07_PIN
252 252
 
253 253
   #elif ENABLED(CR10_STOCKDISPLAY)
254 254
 
255
-    #define LCD_PINS_RS    EXP1_4_PIN
255
+    #define LCD_PINS_RS    EXPA1_04_PIN
256 256
 
257
-    #define BTN_EN1        EXP1_2_PIN
258
-    #define BTN_EN2        EXP1_3_PIN
259
-    #define BTN_ENC        EXP1_6_PIN   // (58) open-drain
257
+    #define BTN_EN1        EXPA1_08_PIN
258
+    #define BTN_EN2        EXPA1_06_PIN
259
+    #define BTN_ENC        EXPA1_09_PIN   // (58) open-drain
260 260
 
261
-    #define LCD_PINS_ENABLE EXP1_9_PIN
262
-    #define LCD_PINS_D4    EXP1_8_PIN
261
+    #define LCD_PINS_ENABLE EXPA1_03_PIN
262
+    #define LCD_PINS_D4    EXPA1_05_PIN
263 263
 
264 264
   #else // !CR10_STOCKDISPLAY
265 265
 
266
-    #define LCD_PINS_RS    EXP1_7_PIN
266
+    #define LCD_PINS_RS    EXPA1_07_PIN
267 267
 
268
-    #define BTN_EN1        EXP2_2_PIN   // (31) J3-2 & AUX-4
269
-    #define BTN_EN2        EXP2_3_PIN   // (33) J3-4 & AUX-4
270
-    #define BTN_ENC        EXP1_6_PIN   // (58) open-drain
268
+    #define BTN_EN1        EXPA2_08_PIN   // (31) J3-2 & AUX-4
269
+    #define BTN_EN2        EXPA2_06_PIN   // (33) J3-4 & AUX-4
270
+    #define BTN_ENC        EXPA1_09_PIN   // (58) open-drain
271 271
 
272
-    #define LCD_PINS_ENABLE EXP1_2_PIN
273
-    #define LCD_PINS_D4    EXP1_3_PIN
272
+    #define LCD_PINS_ENABLE EXPA1_08_PIN
273
+    #define LCD_PINS_D4    EXPA1_06_PIN
274 274
 
275
-    #define LCD_SDSS       EXP2_7_PIN   // (16) J3-7 & AUX-4
276
-    #define SD_DETECT_PIN  EXP2_4_PIN   // (49) (NOT 5V tolerant)
275
+    #define LCD_SDSS       EXPA2_07_PIN   // (16) J3-7 & AUX-4
276
+    #define SD_DETECT_PIN  EXPA2_04_PIN   // (49) (NOT 5V tolerant)
277 277
 
278 278
     #if ENABLED(FYSETC_MINI_12864)
279
-      #define DOGLCD_CS    EXP1_2_PIN
280
-      #define DOGLCD_A0    EXP1_7_PIN
281
-      #define DOGLCD_SCK   EXP2_6_PIN
282
-      #define DOGLCD_MOSI  EXP2_8_PIN
279
+      #define DOGLCD_CS    EXPA1_08_PIN
280
+      #define DOGLCD_A0    EXPA1_07_PIN
281
+      #define DOGLCD_SCK   EXPA2_09_PIN
282
+      #define DOGLCD_MOSI  EXPA2_05_PIN
283 283
 
284 284
       #define LCD_BACKLIGHT_PIN -1
285 285
 
286 286
       #define FORCE_SOFT_SPI      // Use this if default of hardware SPI causes display problems
287 287
                                   //   results in LCD soft SPI mode 3, SD soft SPI mode 0
288 288
 
289
-      #define LCD_RESET_PIN EXP1_3_PIN   // Must be high or open for LCD to operate normally.
289
+      #define LCD_RESET_PIN EXPA1_06_PIN   // Must be high or open for LCD to operate normally.
290 290
 
291 291
       #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
292 292
         #ifndef RGB_LED_R_PIN
293
-          #define RGB_LED_R_PIN EXP1_8_PIN
293
+          #define RGB_LED_R_PIN EXPA1_05_PIN
294 294
         #endif
295 295
         #ifndef RGB_LED_G_PIN
296
-          #define RGB_LED_G_PIN EXP1_4_PIN
296
+          #define RGB_LED_G_PIN EXPA1_04_PIN
297 297
         #endif
298 298
         #ifndef RGB_LED_B_PIN
299
-          #define RGB_LED_B_PIN EXP1_9_PIN
299
+          #define RGB_LED_B_PIN EXPA1_03_PIN
300 300
         #endif
301 301
       #elif ENABLED(FYSETC_MINI_12864_2_1)
302
-        #define NEOPIXEL_PIN    EXP1_8_PIN
302
+        #define NEOPIXEL_PIN    EXPA1_05_PIN
303 303
       #endif
304 304
 
305 305
     #else // !FYSETC_MINI_12864
306 306
 
307 307
       #if ENABLED(MKS_MINI_12864)
308 308
 
309
-        #define DOGLCD_CS    EXP1_8_PIN
310
-        #define DOGLCD_A0    EXP1_4_PIN
311
-        #define DOGLCD_SCK   EXP2_6_PIN
312
-        #define DOGLCD_MOSI  EXP2_8_PIN
309
+        #define DOGLCD_CS    EXPA1_05_PIN
310
+        #define DOGLCD_A0    EXPA1_04_PIN
311
+        #define DOGLCD_SCK   EXPA2_09_PIN
312
+        #define DOGLCD_MOSI  EXPA2_05_PIN
313 313
 
314 314
       #elif ENABLED(ENDER2_STOCKDISPLAY)
315 315
 
316 316
         /**
317 317
          * Creality Ender-2 display pinout
318 318
          *                   _____
319
-         *               5V | · · | GND
320
-         *     (MOSI) P1_23 | · · | P1_22 (LCD_CS)
321
-         *   (LCD_A0) P1_21 | · · | P1_20 (BTN_EN2)
322
-         *      RESET P1_19 | · · | P1_18 (BTN_EN1)
323
-         *  (BTN_ENC) P0_28 | · · | P1_30 (SCK)
319
+         *               5V | 1 2 | GND
320
+         *     (MOSI) P1_23 | 3 4 | P1_22 (LCD_CS)
321
+         *   (LCD_A0) P1_21 | 5 6   P1_20 (BTN_EN2)
322
+         *      RESET P1_19 | 7 8 | P1_18 (BTN_EN1)
323
+         *  (BTN_ENC) P0_28 | 9 10| P1_30 (SCK)
324 324
          *                   -----
325 325
          *                    EXP1
326 326
          */
327 327
 
328
-        #define BTN_EN1      EXP1_2_PIN
329
-        #define BTN_EN2      EXP1_3_PIN
330
-        #define BTN_ENC      EXP1_6_PIN
331
-        #define DOGLCD_CS    EXP1_4_PIN
332
-        #define DOGLCD_A0    EXP1_8_PIN
333
-        #define DOGLCD_SCK   EXP1_1_PIN
334
-        #define DOGLCD_MOSI  EXP1_9_PIN
328
+        #define BTN_EN1      EXPA1_08_PIN
329
+        #define BTN_EN2      EXPA1_06_PIN
330
+        #define BTN_ENC      EXPA1_09_PIN
331
+        #define DOGLCD_CS    EXPA1_04_PIN
332
+        #define DOGLCD_A0    EXPA1_05_PIN
333
+        #define DOGLCD_SCK   EXPA1_10_PIN
334
+        #define DOGLCD_MOSI  EXPA1_03_PIN
335 335
         #define FORCE_SOFT_SPI
336 336
         #define LCD_BACKLIGHT_PIN -1
337 337
       #endif
338 338
 
339 339
       #if ENABLED(ULTIPANEL)
340
-        #define LCD_PINS_D5 EXP1_8_PIN
341
-        #define LCD_PINS_D6 EXP1_4_PIN
342
-        #define LCD_PINS_D7 EXP1_9_PIN
340
+        #define LCD_PINS_D5 EXPA1_05_PIN
341
+        #define LCD_PINS_D6 EXPA1_04_PIN
342
+        #define LCD_PINS_D7 EXPA1_03_PIN
343 343
       #endif
344 344
 
345 345
     #endif // !FYSETC_MINI_12864
@@ -357,7 +357,7 @@
357 357
 #endif
358 358
 
359 359
 #if SD_CONNECTION_IS(LCD)
360
-  #define SS_PIN           EXP2_7_PIN
360
+  #define SS_PIN           EXPA2_07_PIN
361 361
 #endif
362 362
 
363 363
 /**

+ 30
- 29
Marlin/src/pins/stm32/pins_BTT_SKR_E3_DIP.h 查看文件

@@ -163,53 +163,54 @@
163 163
 
164 164
 /**
165 165
  *                 _____
166
- *             5V | · · | GND
167
- *  (LCD_EN) PB7  | · · | PB8  (LCD_RS)
168
- *  (LCD_D4) PB9  | · · | PA10 (BTN_EN2)
169
- *          RESET | · · | PA9  (BTN_EN1)
170
- * (BTN_ENC) PB6  | · · | PA15 (BEEPER)
166
+ *             5V | 1 2 | GND
167
+ *  (LCD_EN) PB7  | 3 4 | PB8  (LCD_RS)
168
+ *  (LCD_D4) PB9  | 5 6   PA10 (BTN_EN2)
169
+ *          RESET | 7 8 | PA9  (BTN_EN1)
170
+ * (BTN_ENC) PB6  | 9 10| PA15 (BEEPER)
171 171
  *                 -----
172 172
  *                 EXP1
173 173
  */
174
-#define EXP1_1_PIN         PA15
175
-#define EXP1_2_PIN         PA9
176
-#define EXP1_3_PIN         PA10
177
-#define EXP1_4_PIN         PB8
178
-#define EXP1_6_PIN         PB6
179
-#define EXP1_7_PIN         -1
180
-#define EXP1_8_PIN         PB9
181
-#define EXP1_9_PIN         PB7
174
+
175
+#define EXPA1_03_PIN       PB7
176
+#define EXPA1_04_PIN       PB8
177
+#define EXPA1_05_PIN       PB9
178
+#define EXPA1_06_PIN       PA10
179
+#define EXPA1_07_PIN       -1
180
+#define EXPA1_08_PIN       PA9
181
+#define EXPA1_09_PIN       PB6
182
+#define EXPA1_10_PIN       PA15
182 183
 
183 184
 #if HAS_SPI_LCD
184
-  #define BTN_ENC          EXP1_6_PIN
185
-  #define BTN_EN1          EXP1_2_PIN
186
-  #define BTN_EN2          EXP1_3_PIN
185
+  #define BTN_ENC          EXPA1_09_PIN
186
+  #define BTN_EN1          EXPA1_08_PIN
187
+  #define BTN_EN2          EXPA1_06_PIN
187 188
 
188 189
   #if ENABLED(CR10_STOCKDISPLAY)
189 190
 
190
-    #define BEEPER_PIN     EXP1_1_PIN
191
+    #define BEEPER_PIN     EXPA1_10_PIN
191 192
 
192
-    #define LCD_PINS_RS    EXP1_4_PIN
193
-    #define LCD_PINS_ENABLE EXP1_9_PIN
194
-    #define LCD_PINS_D4    EXP1_8_PIN
193
+    #define LCD_PINS_RS    EXPA1_04_PIN
194
+    #define LCD_PINS_ENABLE EXPA1_03_PIN
195
+    #define LCD_PINS_D4    EXPA1_05_PIN
195 196
 
196 197
   #elif EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
197 198
 
198 199
     /** Creality Ender-2 display pinout
199 200
      *                   _____
200
-     *               5V | · · | GND
201
-     *      (MOSI) PB7  | · · | PB8  (LCD_RS)
202
-     *    (LCD_A0) PB9  | · · | PA10 (BTN_EN2)
203
-     *            RESET | · · | PA9  (BTN_EN1)
204
-     *   (BTN_ENC) PB6  | · · | PA15 (SCK)
201
+     *               5V | 1 2 | GND
202
+     *      (MOSI) PB7  | 3 4 | PB8  (LCD_RS)
203
+     *    (LCD_A0) PB9  | 5 6   PA10 (BTN_EN2)
204
+     *            RESET | 7 8 | PA9  (BTN_EN1)
205
+     *   (BTN_ENC) PB6  | 9 10| PA15 (SCK)
205 206
      *                   -----
206 207
      *                    EXP1
207 208
      */
208 209
 
209
-    #define DOGLCD_CS    EXP1_4_PIN
210
-    #define DOGLCD_A0    EXP1_8_PIN
211
-    #define DOGLCD_SCK   EXP1_1_PIN
212
-    #define DOGLCD_MOSI  EXP1_9_PIN
210
+    #define DOGLCD_CS    EXPA1_04_PIN
211
+    #define DOGLCD_A0    EXPA1_05_PIN
212
+    #define DOGLCD_SCK   EXPA1_10_PIN
213
+    #define DOGLCD_MOSI  EXPA1_03_PIN
213 214
     #define FORCE_SOFT_SPI
214 215
     #define LCD_BACKLIGHT_PIN -1
215 216
 

+ 39
- 39
Marlin/src/pins/stm32/pins_BTT_SKR_MINI_E3.h 查看文件

@@ -103,70 +103,70 @@
103 103
 
104 104
 /**
105 105
  *                 _____
106
- *             5V | · · | GND
107
- *  (LCD_EN) PB7  | · · | PB8  (LCD_RS)
108
- *  (LCD_D4) PB9  | · · | PA10 (BTN_EN2)
109
- *          RESET | · · | PA9  (BTN_EN1)
110
- * (BTN_ENC) PB6  | · · | PB5  (BEEPER)
106
+ *             5V | 1 2 | GND
107
+ *  (LCD_EN) PB7  | 3 4 | PB8  (LCD_RS)
108
+ *  (LCD_D4) PB9  | 5 6   PA10 (BTN_EN2)
109
+ *          RESET | 7 8 | PA9  (BTN_EN1)
110
+ * (BTN_ENC) PB6  | 9 10| PB5  (BEEPER)
111 111
  *                 -----
112 112
  *                 EXP1
113 113
  */
114 114
 
115
-#define EXP1_1_PIN         PB5
116
-#define EXP1_2_PIN         PA9
117
-#define EXP1_3_PIN         PA10
118
-#define EXP1_4_PIN         PB8
119
-#define EXP1_6_PIN         PB6
120
-#define EXP1_7_PIN         -1
121
-#define EXP1_8_PIN         PB9
122
-#define EXP1_9_PIN         PB7
115
+#define EXPA1_03_PIN       PB7
116
+#define EXPA1_04_PIN       PB8
117
+#define EXPA1_05_PIN       PB9
118
+#define EXPA1_06_PIN       PA10
119
+#define EXPA1_07_PIN       -1
120
+#define EXPA1_08_PIN       PA9
121
+#define EXPA1_09_PIN       PB6
122
+#define EXPA1_10_PIN       PB5
123 123
 
124 124
 #if HAS_SPI_LCD
125 125
 
126 126
   #if ENABLED(CR10_STOCKDISPLAY)
127 127
 
128
-    #define BEEPER_PIN     EXP1_1_PIN
128
+    #define BEEPER_PIN     EXPA1_10_PIN
129 129
 
130
-    #define BTN_EN1        EXP1_2_PIN
131
-    #define BTN_EN2        EXP1_3_PIN
132
-    #define BTN_ENC        EXP1_6_PIN
130
+    #define BTN_EN1        EXPA1_08_PIN
131
+    #define BTN_EN2        EXPA1_06_PIN
132
+    #define BTN_ENC        EXPA1_09_PIN
133 133
 
134
-    #define LCD_PINS_RS    EXP1_4_PIN
135
-    #define LCD_PINS_ENABLE EXP1_9_PIN
136
-    #define LCD_PINS_D4    EXP1_8_PIN
134
+    #define LCD_PINS_RS    EXPA1_04_PIN
135
+    #define LCD_PINS_ENABLE EXPA1_03_PIN
136
+    #define LCD_PINS_D4    EXPA1_05_PIN
137 137
 
138 138
   #elif ENABLED(ZONESTAR_LCD)     // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
139 139
 
140 140
     #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3.h' for details. Comment out this line to continue."
141 141
 
142
-    #define LCD_PINS_RS    EXP1_8_PIN
143
-    #define LCD_PINS_ENABLE EXP1_6_PIN
144
-    #define LCD_PINS_D4    EXP1_4_PIN
145
-    #define LCD_PINS_D5    EXP1_3_PIN
146
-    #define LCD_PINS_D6    EXP1_2_PIN
147
-    #define LCD_PINS_D7    EXP1_1_PIN
142
+    #define LCD_PINS_RS    EXPA1_05_PIN
143
+    #define LCD_PINS_ENABLE EXPA1_09_PIN
144
+    #define LCD_PINS_D4    EXPA1_04_PIN
145
+    #define LCD_PINS_D5    EXPA1_06_PIN
146
+    #define LCD_PINS_D6    EXPA1_08_PIN
147
+    #define LCD_PINS_D7    EXPA1_10_PIN
148 148
     #define ADC_KEYPAD_PIN PA1    // Repurpose servo pin for ADC - CONNECTING TO 5V WILL DAMAGE THE BOARD!
149 149
 
150 150
   #elif EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
151 151
 
152 152
     /** Creality Ender-2 display pinout
153 153
      *                   _____
154
-     *               5V | · · | GND
155
-     *      (MOSI) PB7  | · · | PB8  (LCD_RS)
156
-     *    (LCD_A0) PB9  | · · | PA10 (BTN_EN2)
157
-     *            RESET | · · | PA9  (BTN_EN1)
158
-     *   (BTN_ENC) PB6  | · · | PB5  (SCK)
154
+     *               5V | 1 2 | GND
155
+     *      (MOSI) PB7  | 3 4 | PB8  (LCD_RS)
156
+     *    (LCD_A0) PB9  | 5 6   PA10 (BTN_EN2)
157
+     *            RESET | 7 8 | PA9  (BTN_EN1)
158
+     *   (BTN_ENC) PB6  | 9 10| PB5  (SCK)
159 159
      *                   -----
160 160
      *                    EXP1
161 161
      */
162
-    #define BTN_EN1        EXP1_2_PIN
163
-    #define BTN_EN2        EXP1_3_PIN
164
-    #define BTN_ENC        EXP1_6_PIN
165
-
166
-    #define DOGLCD_CS      EXP1_4_PIN
167
-    #define DOGLCD_A0      EXP1_8_PIN
168
-    #define DOGLCD_SCK     EXP1_1_PIN
169
-    #define DOGLCD_MOSI    EXP1_9_PIN
162
+    #define BTN_EN1        EXPA1_08_PIN
163
+    #define BTN_EN2        EXPA1_06_PIN
164
+    #define BTN_ENC        EXPA1_09_PIN
165
+
166
+    #define DOGLCD_CS      EXPA1_04_PIN
167
+    #define DOGLCD_A0      EXPA1_05_PIN
168
+    #define DOGLCD_SCK     EXPA1_10_PIN
169
+    #define DOGLCD_MOSI    EXPA1_03_PIN
170 170
     #define FORCE_SOFT_SPI
171 171
     #define LCD_BACKLIGHT_PIN -1
172 172
 

Loading…
取消
儲存