Просмотр исходного кода

Add library selection between GLCD and char. LCD

Dirk Eichel 12 лет назад
Родитель
Сommit
26d8863111
1 измененных файлов: 5 добавлений и 1 удалений
  1. 5
    1
      Marlin/Marlin.pde

+ 5
- 1
Marlin/Marlin.pde Просмотреть файл

@@ -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

Загрузка…
Отмена
Сохранить