Browse Source

Add Motherboard variant 64 - STB V1.1

Definition for the graphic LCD are already in it, they will not harm the
configuration as they are only defined constants
Dirk Eichel 12 years ago
parent
commit
5de25ccd20
1 changed files with 19 additions and 8 deletions
  1. 19
    8
      Marlin/Configuration.h

+ 19
- 8
Marlin/Configuration.h View File

34
 // 6  = Sanguinololu < 1.2
34
 // 6  = Sanguinololu < 1.2
35
 // 62 = Sanguinololu 1.2 and above
35
 // 62 = Sanguinololu 1.2 and above
36
 // 63 = Melzi
36
 // 63 = Melzi
37
+// 64 = STB V1.1
37
 // 7  = Ultimaker
38
 // 7  = Ultimaker
38
 // 71 = Ultimaker (Older electronics. Pre 1.5.4. This is rare)
39
 // 71 = Ultimaker (Older electronics. Pre 1.5.4. This is rare)
39
 // 8  = Teensylu
40
 // 8  = Teensylu
314
 
315
 
315
 //LCD and SD support
316
 //LCD and SD support
316
 //#define ULTRA_LCD  //general lcd support, also 16x2
317
 //#define ULTRA_LCD  //general lcd support, also 16x2
318
+//#define DOGLCD	// Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
317
 //#define SDSUPPORT // Enable SD Card Support in Hardware Console
319
 //#define SDSUPPORT // Enable SD Card Support in Hardware Console
318
 
320
 
319
 //#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
321
 //#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
322
 // The RepRapDiscount Smart Controller (white PCB)
324
 // The RepRapDiscount Smart Controller (white PCB)
323
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
325
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
324
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER
326
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER
325
-
326
-// The GADGETS3D G3D LCD/SD Controller (blue PCB)
327
-// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
327
+
328
+// The GADGETS3D G3D LCD/SD Controller (blue PCB)
329
+// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
328
 //#define G3D_PANEL
330
 //#define G3D_PANEL
329
 
331
 
330
 //automatic expansion
332
 //automatic expansion
347
 //  #define NEWPANEL  //enable this if you have a click-encoder panel
349
 //  #define NEWPANEL  //enable this if you have a click-encoder panel
348
   #define SDSUPPORT
350
   #define SDSUPPORT
349
   #define ULTRA_LCD
351
   #define ULTRA_LCD
350
-  #define LCD_WIDTH 20
351
-  #define LCD_HEIGHT 4
352
-  
352
+	#ifdef DOGLCD	// Change number of lines to match the DOG graphic display
353
+		#define LCD_WIDTH 20
354
+		#define LCD_HEIGHT 5
355
+	#else
356
+		#define LCD_WIDTH 20
357
+		#define LCD_HEIGHT 4
358
+	#endif
353
 #else //no panel but just lcd 
359
 #else //no panel but just lcd 
354
   #ifdef ULTRA_LCD
360
   #ifdef ULTRA_LCD
355
-    #define LCD_WIDTH 16
356
-    #define LCD_HEIGHT 2    
361
+	#ifdef DOGLCD	// Change number of lines to match the 128x64 graphics display
362
+		#define LCD_WIDTH 20
363
+		#define LCD_HEIGHT 5
364
+	#else
365
+		#define LCD_WIDTH 16
366
+		#define LCD_HEIGHT 2
367
+	#endif    
357
   #endif
368
   #endif
358
 #endif
369
 #endif
359
 
370
 

Loading…
Cancel
Save