浏览代码

Wanhao Duplicator i3 Mini config updates (#14908)

thisiskeithb 5 年前
父节点
当前提交
19e21a8f10

+ 11
- 9
Marlin/src/pins/mega/pins_WANHAO_ONEPLUS.h 查看文件

@@ -92,20 +92,22 @@
92 92
 #define KILL_PIN           64
93 93
 
94 94
 //
95
-// LCD / Controller
95
+// LCD / Controller (Integrated MINIPANEL)
96 96
 //
97
-
98
-#if HAS_SPI_LCD
97
+#if ENABLED(MINIPANEL)
99 98
   #define DOGLCD_A0        40
100 99
   #define DOGLCD_CS        41
101 100
   #define LCD_BACKLIGHT_PIN 65   // Backlight LED on A11/D65
102 101
   #define LCD_RESET_PIN    27
103 102
 
104
-  #define LCD_CONTRAST    255
103
+  #define BTN_EN1           2
104
+  #define BTN_EN2           3
105
+  #define BTN_ENC           5
105 106
 
106
-  #if ENABLED(NEWPANEL)
107
-    #define BTN_EN1         2
108
-    #define BTN_EN2         3
109
-    #define BTN_ENC         5
110
-  #endif
107
+  // This display has adjustable contrast
108
+  #undef HAS_LCD_CONTRAST
109
+  #define HAS_LCD_CONTRAST 1
110
+  #define LCD_CONTRAST_MIN       0
111
+  #define LCD_CONTRAST_MAX     255
112
+  #define DEFAULT_LCD_CONTRAST 255
111 113
 #endif

+ 3
- 3
config/examples/Wanhao/Duplicator i3 Mini/Configuration.h 查看文件

@@ -90,7 +90,7 @@
90 90
  */
91 91
 
92 92
 // Enable to show the bitmap in Marlin/_Bootscreen.h on startup.
93
-//#define SHOW_CUSTOM_BOOTSCREEN
93
+#define SHOW_CUSTOM_BOOTSCREEN
94 94
 
95 95
 // Enable to show the bitmap in Marlin/_Statusscreen.h on the status screen.
96 96
 //#define CUSTOM_STATUS_SCREEN_IMAGE
@@ -1895,7 +1895,7 @@
1895 1895
 // MakerLab Mini Panel with graphic
1896 1896
 // controller and SD support - http://reprap.org/wiki/Mini_panel
1897 1897
 //
1898
-//#define MINIPANEL
1898
+#define MINIPANEL
1899 1899
 
1900 1900
 //
1901 1901
 // MaKr3d Makr-Panel with graphic controller and SD support.
@@ -1936,7 +1936,7 @@
1936 1936
 // MKS MINI12864 with graphic controller and SD support
1937 1937
 // https://reprap.org/wiki/MKS_MINI_12864
1938 1938
 //
1939
-#define MKS_MINI_12864
1939
+//#define MKS_MINI_12864
1940 1940
 
1941 1941
 //
1942 1942
 // FYSETC variant of the MINI12864 graphic controller with SD support

+ 53
- 0
config/examples/Wanhao/Duplicator i3 Mini/_Bootscreen.h 查看文件

@@ -0,0 +1,53 @@
1
+/**
2
+ * Made with Marlin Bitmap Converter
3
+ * http://marlinfw.org/tools/u8glib/converter.html
4
+ */
5
+#define CUSTOM_BOOTSCREEN_BMPWIDTH  80
6
+#define CUSTOM_BOOTSCREEN_Y          3
7
+
8
+const unsigned char custom_start_bmp[] PROGMEM = {
9
+  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B11000000,B00000000,B00000000,
10
+  B00000000,B00000000,B00000000,B00000000,B00110111,B00000000,B01111111,B10111100,B00000000,B00000000,
11
+  B00000000,B00000000,B00000000,B00000000,B11111111,B11111111,B11111111,B10111111,B10000000,B00000000,
12
+  B00000000,B00000000,B00000000,B00000111,B11111111,B11111111,B11111111,B01111111,B11000000,B00000000,
13
+  B00000000,B00000000,B00000000,B00011111,B11101111,B11111111,B11111111,B01111111,B11111111,B00000000,
14
+  B00000000,B00000000,B00000000,B00111111,B11101111,B11111111,B11111111,B11111111,B11111111,B11100000,
15
+  B00000000,B00000000,B00000000,B11111111,B11101111,B11111111,B11111111,B11111111,B11100000,B00110000,
16
+  B00000000,B00000000,B00000011,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000,B00000000,
17
+  B00000000,B00000000,B00000111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000,B00000000,
18
+  B00000000,B00000000,B00110111,B11111111,B11111111,B11111111,B11111111,B01111111,B11110000,B00000000,
19
+  B00000000,B00010111,B11110111,B11111111,B11101111,B11111111,B11111111,B01111111,B11110000,B00000000,
20
+  B00000000,B00011111,B11110111,B11111111,B11101111,B11111111,B11111111,B01111111,B11110000,B00000000,
21
+  B00000000,B00001111,B11110111,B11111111,B11111111,B11111111,B11111111,B10111111,B11111000,B00000000,
22
+  B00000000,B00001111,B11110111,B11111111,B11110111,B11111111,B11111111,B10111111,B11111000,B00000000,
23
+  B00000000,B00001111,B11111111,B11111111,B11110111,B11111111,B11111111,B10111111,B11111100,B00000000,
24
+  B00000000,B00001111,B11111011,B11111111,B11110111,B11111111,B11111111,B10111111,B11111100,B00000000,
25
+  B00000000,B00001111,B11111011,B11111111,B11111111,B11111111,B11111111,B11111111,B11111100,B00000000,
26
+  B00000000,B10001111,B11111101,B11111111,B11111011,B11111111,B11111111,B11011111,B11111000,B00000000,
27
+  B00000000,B11111111,B11111100,B11111111,B11111011,B11111111,B11111111,B10111111,B11110110,B00000000,
28
+  B00000100,B01111111,B11111110,B11111111,B11111011,B11111111,B11111111,B00011111,B11101111,B00000000,
29
+  B00000110,B01111111,B11111111,B00100101,B11111011,B11111111,B11111100,B11101111,B11011111,B10000000,
30
+  B00000111,B11111111,B11111111,B00111110,B01110000,B11111111,B11110000,B11110011,B11011111,B11000000,
31
+  B00000011,B11111111,B11111100,B00111111,B10000000,B00001111,B10000000,B01111101,B10111111,B11000000,
32
+  B00000001,B11111111,B11111000,B00011111,B11011000,B00000000,B00000000,B11111111,B10111111,B10000000,
33
+  B00000001,B11111111,B11100000,B00001111,B11011111,B00000000,B00000001,B11111111,B00011111,B10000000,
34
+  B00000000,B01111111,B11000000,B00001111,B11111111,B10000000,B00000011,B11111110,B00011111,B00000000,
35
+  B00000000,B00111111,B10000000,B00001111,B10111111,B10000000,B00000011,B11111000,B00111111,B00000000,
36
+  B00000000,B00111111,B00000000,B00001111,B10011111,B11000000,B00000111,B11000000,B00111110,B00000000,
37
+  B00000000,B00011100,B00000000,B00011111,B00000000,B11000000,B00001111,B11000000,B01111110,B00000000,
38
+  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
39
+  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
40
+  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
41
+  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
42
+  B00000011,B10001100,B01110000,B11100000,B11100000,B11001100,B00011100,B00011000,B00000111,B11000000,
43
+  B00000011,B10011100,B01110000,B11110000,B11110001,B11001110,B00011100,B00111100,B00001111,B11100000,
44
+  B00000011,B10011100,B01110001,B11110000,B11110001,B11001110,B00011100,B00111100,B00011111,B11110000,
45
+  B00000011,B10011100,B01110001,B11110000,B11111001,B11001110,B00011100,B01111110,B00111100,B01111000,
46
+  B00000011,B10011100,B01110001,B11111000,B11111101,B11001111,B11111100,B01111110,B00111000,B00111000,
47
+  B00000001,B10011110,B11100011,B10111000,B11111111,B11001111,B11111100,B01100111,B00111000,B00011000,
48
+  B00000001,B11011110,B11100011,B10111000,B11101111,B11001111,B11111100,B11100111,B00111000,B00111000,
49
+  B00000001,B11111111,B11000011,B11111100,B11100111,B11001110,B00011100,B11111111,B00111100,B00111000,
50
+  B00000000,B11110111,B11000111,B11111100,B11100011,B11001110,B00011100,B11111111,B10011111,B11110000,
51
+  B00000000,B11110011,B10000111,B00011110,B11100011,B11001110,B00011101,B11100011,B10001111,B11110000,
52
+  B00000000,B01110011,B10000111,B00001110,B11100001,B11001110,B00011101,B11000011,B11000111,B11000000
53
+};

正在加载...
取消
保存