Browse Source

Add library selection between GLCD and char. LCD

Dirk Eichel 12 years ago
parent
commit
26d8863111
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      Marlin/Marlin.pde

+ 5
- 1
Marlin/Marlin.pde View File

34
 #include "pins.h"
34
 #include "pins.h"
35
 
35
 
36
 #ifdef ULTRA_LCD
36
 #ifdef ULTRA_LCD
37
-#include <LiquidCrystal.h>
37
+	#ifdef DOGLCD
38
+		#include <U8glib.h> // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)
39
+	#else
40
+		#include <LiquidCrystal.h> // library for character LCD
41
+	#endif
38
 #endif
42
 #endif
39
 
43
 
40
 #if DIGIPOTSS_PIN > -1
44
 #if DIGIPOTSS_PIN > -1

Loading…
Cancel
Save