|
@@ -143,31 +143,7 @@
|
143
|
143
|
//
|
144
|
144
|
// Misc. Functions
|
145
|
145
|
//
|
146
|
|
-#define PS_ON_PIN P0_25 //TH3 Connector
|
147
|
|
-
|
148
|
|
-/**
|
149
|
|
- * Smart LCD adapter
|
150
|
|
- *
|
151
|
|
- * The Smart LCD adapter can be used for the two 10 pin LCD controllers such as
|
152
|
|
- * REPRAP_DISCOUNT_SMART_CONTROLLER. It can't be used for controllers that use
|
153
|
|
- * DOGLCD_A0, DOGLCD_CS, LCD_PINS_D5, LCD_PINS_D6 or LCD_PINS_D7. A custom cable
|
154
|
|
- * is needed to pick up 5V for the EXP1 connection.
|
155
|
|
- *
|
156
|
|
- * SD card on the LCD uses the same SPI signals as the LCD. This results in garbage/lines
|
157
|
|
- * on the LCD display during accesses of the SD card. The menus/code has been arranged so
|
158
|
|
- * that the garbage/lines are erased immediately after the SD card accesses are completed.
|
159
|
|
- */
|
160
|
|
-
|
161
|
|
-#if ENABLED(ULTRA_LCD)
|
162
|
|
- #define BEEPER_PIN P1_31 // EXP1.1
|
163
|
|
- #define BTN_ENC P1_30 // EXP1.2
|
164
|
|
- #define BTN_EN1 P3_26 // EXP2.5
|
165
|
|
- #define BTN_EN2 P3_25 // EXP2.3
|
166
|
|
- #define LCD_PINS_RS P0_16 // EXP1.4
|
167
|
|
- #define LCD_SDSS P0_28 // EXP2.4
|
168
|
|
- #define LCD_PINS_ENABLE P0_18 // EXP1.3
|
169
|
|
- #define LCD_PINS_D4 P0_15 // EXP1.5
|
170
|
|
-#endif
|
|
146
|
+#define PS_ON_PIN P0_25 // TH3 Connector
|
171
|
147
|
|
172
|
148
|
//
|
173
|
149
|
// Ethernet pins
|
|
@@ -186,15 +162,14 @@
|
186
|
162
|
#define ENET_TXD0 P1_00 // J12-11
|
187
|
163
|
#define ENET_TXD1 P1_01 // J12-12
|
188
|
164
|
|
189
|
|
-
|
190
|
|
-/*
|
|
165
|
+/**
|
191
|
166
|
* The SBase can share the on-board SD card with a PC via USB the following
|
192
|
167
|
* definitions control this feature:
|
193
|
168
|
*/
|
194
|
169
|
//#define USB_SD_DISABLED
|
195
|
170
|
#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device
|
196
|
171
|
|
197
|
|
-/*
|
|
172
|
+/**
|
198
|
173
|
* There are a number of configurations available for the SBase SD card reader.
|
199
|
174
|
* - A custom cable can be used to allow access to the LCD based SD card.
|
200
|
175
|
* - A standard cable can be used for access to the LCD SD card (but no SD detect).
|
|
@@ -257,6 +232,34 @@
|
257
|
232
|
#endif
|
258
|
233
|
|
259
|
234
|
/**
|
|
235
|
+ * Smart LCD adapter
|
|
236
|
+ *
|
|
237
|
+ * The Smart LCD adapter can be used for the two 10 pin LCD controllers such as
|
|
238
|
+ * REPRAP_DISCOUNT_SMART_CONTROLLER. It can't be used for controllers that use
|
|
239
|
+ * DOGLCD_A0, DOGLCD_CS, LCD_PINS_D5, LCD_PINS_D6 or LCD_PINS_D7. A custom cable
|
|
240
|
+ * is needed to pick up 5V for the EXP1 connection.
|
|
241
|
+ *
|
|
242
|
+ * SD card on the LCD uses the same SPI signals as the LCD. This results in garbage/lines
|
|
243
|
+ * on the LCD display during accesses of the SD card. The menus/code has been arranged so
|
|
244
|
+ * that the garbage/lines are erased immediately after the SD card accesses are completed.
|
|
245
|
+ */
|
|
246
|
+
|
|
247
|
+#if ENABLED(ULTRA_LCD)
|
|
248
|
+ #define BEEPER_PIN P1_31 // EXP1.1
|
|
249
|
+ #define BTN_ENC P1_30 // EXP1.2
|
|
250
|
+ #define BTN_EN1 P3_26 // EXP2.5
|
|
251
|
+ #define BTN_EN2 P3_25 // EXP2.3
|
|
252
|
+ #define LCD_PINS_RS P0_16 // EXP1.4
|
|
253
|
+ #define LCD_SDSS P0_28 // EXP2.4
|
|
254
|
+ #define LCD_PINS_ENABLE P0_18 // EXP1.3
|
|
255
|
+ #define LCD_PINS_D4 P0_15 // EXP1.5
|
|
256
|
+ #if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
|
257
|
+ #define DOGLCD_SCK SCK_PIN
|
|
258
|
+ #define DOGLCD_MOSI MOSI_PIN
|
|
259
|
+ #endif
|
|
260
|
+#endif
|
|
261
|
+
|
|
262
|
+/**
|
260
|
263
|
* Example for trinamic drivers using the J8 connector on MKs Sbase.
|
261
|
264
|
* 2130s need 1 pin for each driver. 2208s need 2 pins for serial control.
|
262
|
265
|
* This board does not have enough pins to use hardware serial.
|