Selaa lähdekoodia

Add library selection between GLCD and char. LCD

Dirk Eichel 11 vuotta sitten
vanhempi
commit
26d8863111
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5
    1
      Marlin/Marlin.pde

+ 5
- 1
Marlin/Marlin.pde Näytä tiedosto

@@ -34,7 +34,11 @@
34 34
 #include "pins.h"
35 35
 
36 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 42
 #endif
39 43
 
40 44
 #if DIGIPOTSS_PIN > -1

Loading…
Peruuta
Tallenna