ソースを参照

Add library selection between GLCD and char. LCD

Dirk Eichel 12年前
コミット
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

読み込み中…
キャンセル
保存