瀏覽代碼

Add 20x4 option for Sainsmart LCD (#9740)

Scott Lahteine 6 年之前
父節點
當前提交
7d8c6b3f3c
沒有連結到貢獻者的電子郵件帳戶。
共有 62 個檔案被更改,包括 252 行新增187 行删除
  1. 2
    2
      .travis.yml
  2. 4
    3
      Marlin/Configuration.h
  3. 4
    3
      Marlin/src/config/default/Configuration.h
  4. 4
    3
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  5. 4
    3
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  6. 4
    3
      Marlin/src/config/examples/Anet/A6/Configuration.h
  7. 4
    3
      Marlin/src/config/examples/Anet/A8/Configuration.h
  8. 4
    3
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  9. 4
    3
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  10. 4
    3
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  11. 4
    3
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  12. 4
    3
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  13. 4
    3
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  14. 4
    3
      Marlin/src/config/examples/Cartesio/Configuration.h
  15. 4
    3
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  16. 4
    3
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  17. 4
    3
      Marlin/src/config/examples/Creality/Ender/Configuration.h
  18. 4
    3
      Marlin/src/config/examples/Felix/Configuration.h
  19. 4
    3
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  20. 4
    3
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  21. 4
    3
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  22. 4
    3
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  23. 4
    3
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  24. 4
    3
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  25. 4
    3
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  26. 4
    3
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  27. 4
    3
      Marlin/src/config/examples/MakerParts/Configuration.h
  28. 4
    3
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  29. 4
    3
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  30. 4
    3
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  31. 4
    3
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  32. 4
    3
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  33. 4
    3
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  34. 4
    3
      Marlin/src/config/examples/RigidBot/Configuration.h
  35. 4
    3
      Marlin/src/config/examples/SCARA/Configuration.h
  36. 4
    3
      Marlin/src/config/examples/STM32F10/Configuration.h
  37. 4
    3
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  38. 4
    3
      Marlin/src/config/examples/TheBorg/Configuration.h
  39. 4
    3
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  40. 4
    3
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  41. 4
    3
      Marlin/src/config/examples/Tronxy/X5S/Configuration.h
  42. 4
    3
      Marlin/src/config/examples/Tronxy/XY100/Configuration.h
  43. 4
    3
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
  44. 4
    3
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  45. 4
    3
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  46. 4
    3
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  47. 4
    3
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
  48. 4
    3
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  49. 4
    3
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  50. 4
    3
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
  51. 4
    3
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  52. 4
    3
      Marlin/src/config/examples/delta/generic/Configuration.h
  53. 4
    3
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  54. 4
    3
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  55. 4
    3
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  56. 4
    3
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  57. 4
    3
      Marlin/src/config/examples/makibox/Configuration.h
  58. 4
    3
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  59. 4
    3
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  60. 4
    3
      Marlin/src/config/examples/wt150/Configuration.h
  61. 8
    7
      Marlin/src/inc/Conditionals_LCD.h
  62. 6
    1
      Marlin/src/inc/SanityCheck.h

+ 2
- 2
.travis.yml 查看文件

@@ -258,10 +258,10 @@ script:
258 258
   # Most I2C configurations are failing at the moment because they require
259 259
   # a different Liquid Crystal library "LiquidTWI2".
260 260
   #
261
-  # LCD_I2C_SAINSMART_YWROBOT
261
+  # LCD_SAINSMART_I2C_1602
262 262
   #
263 263
   #- restore_configs
264
-  #- opt_enable LCD_I2C_SAINSMART_YWROBOT
264
+  #- opt_enable LCD_SAINSMART_I2C_1602
265 265
   #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
266 266
   #
267 267
   # LCD_I2C_PANELOLU2

+ 4
- 3
Marlin/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/default/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h 查看文件

@@ -1620,12 +1620,13 @@
1620 1620
 //#define RA_CONTROL_PANEL
1621 1621
 
1622 1622
 //
1623
-// Sainsmart YW Robot (LCM1602) LCD Display
1623
+// Sainsmart (YwRobot) LCD Displays
1624 1624
 //
1625
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1625
+// These require F.Malpartida's LiquidCrystal_I2C library
1626 1626
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1627 1627
 //
1628
-//#define LCD_I2C_SAINSMART_YWROBOT
1628
+//#define LCD_SAINSMART_I2C_1602
1629
+//#define LCD_SAINSMART_I2C_2004
1629 1630
 
1630 1631
 //
1631 1632
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Anet/A6/Configuration.h 查看文件

@@ -1750,12 +1750,13 @@
1750 1750
 //#define RA_CONTROL_PANEL
1751 1751
 
1752 1752
 //
1753
-// Sainsmart YW Robot (LCM1602) LCD Display
1753
+// Sainsmart (YwRobot) LCD Displays
1754 1754
 //
1755
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1755
+// These require F.Malpartida's LiquidCrystal_I2C library
1756 1756
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1757 1757
 //
1758
-//#define LCD_I2C_SAINSMART_YWROBOT
1758
+//#define LCD_SAINSMART_I2C_1602
1759
+//#define LCD_SAINSMART_I2C_2004
1759 1760
 
1760 1761
 //
1761 1762
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Anet/A8/Configuration.h 查看文件

@@ -1609,12 +1609,13 @@
1609 1609
 //#define RA_CONTROL_PANEL
1610 1610
 
1611 1611
 //
1612
-// Sainsmart YW Robot (LCM1602) LCD Display
1612
+// Sainsmart (YwRobot) LCD Displays
1613 1613
 //
1614
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1614
+// These require F.Malpartida's LiquidCrystal_I2C library
1615 1615
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1616 1616
 //
1617
-//#define LCD_I2C_SAINSMART_YWROBOT
1617
+//#define LCD_SAINSMART_I2C_1602
1618
+//#define LCD_SAINSMART_I2C_2004
1618 1619
 
1619 1620
 //
1620 1621
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/BQ/Hephestos/Configuration.h 查看文件

@@ -1588,12 +1588,13 @@
1588 1588
 //#define RA_CONTROL_PANEL
1589 1589
 
1590 1590
 //
1591
-// Sainsmart YW Robot (LCM1602) LCD Display
1591
+// Sainsmart (YwRobot) LCD Displays
1592 1592
 //
1593
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1593
+// These require F.Malpartida's LiquidCrystal_I2C library
1594 1594
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1595 1595
 //
1596
-//#define LCD_I2C_SAINSMART_YWROBOT
1596
+//#define LCD_SAINSMART_I2C_1602
1597
+//#define LCD_SAINSMART_I2C_2004
1597 1598
 
1598 1599
 //
1599 1600
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h 查看文件

@@ -1601,12 +1601,13 @@
1601 1601
 //#define RA_CONTROL_PANEL
1602 1602
 
1603 1603
 //
1604
-// Sainsmart YW Robot (LCM1602) LCD Display
1604
+// Sainsmart (YwRobot) LCD Displays
1605 1605
 //
1606
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1606
+// These require F.Malpartida's LiquidCrystal_I2C library
1607 1607
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1608 1608
 //
1609
-//#define LCD_I2C_SAINSMART_YWROBOT
1609
+//#define LCD_SAINSMART_I2C_1602
1610
+//#define LCD_SAINSMART_I2C_2004
1610 1611
 
1611 1612
 //
1612 1613
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/BQ/WITBOX/Configuration.h 查看文件

@@ -1588,12 +1588,13 @@
1588 1588
 //#define RA_CONTROL_PANEL
1589 1589
 
1590 1590
 //
1591
-// Sainsmart YW Robot (LCM1602) LCD Display
1591
+// Sainsmart (YwRobot) LCD Displays
1592 1592
 //
1593
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1593
+// These require F.Malpartida's LiquidCrystal_I2C library
1594 1594
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1595 1595
 //
1596
-//#define LCD_I2C_SAINSMART_YWROBOT
1596
+//#define LCD_SAINSMART_I2C_1602
1597
+//#define LCD_SAINSMART_I2C_2004
1597 1598
 
1598 1599
 //
1599 1600
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Cartesio/Configuration.h 查看文件

@@ -1599,12 +1599,13 @@
1599 1599
 //#define RA_CONTROL_PANEL
1600 1600
 
1601 1601
 //
1602
-// Sainsmart YW Robot (LCM1602) LCD Display
1602
+// Sainsmart (YwRobot) LCD Displays
1603 1603
 //
1604
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1604
+// These require F.Malpartida's LiquidCrystal_I2C library
1605 1605
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1606 1606
 //
1607
-//#define LCD_I2C_SAINSMART_YWROBOT
1607
+//#define LCD_SAINSMART_I2C_1602
1608
+//#define LCD_SAINSMART_I2C_2004
1608 1609
 
1609 1610
 //
1610 1611
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Creality/CR-10/Configuration.h 查看文件

@@ -1611,12 +1611,13 @@
1611 1611
 //#define RA_CONTROL_PANEL
1612 1612
 
1613 1613
 //
1614
-// Sainsmart YW Robot (LCM1602) LCD Display
1614
+// Sainsmart (YwRobot) LCD Displays
1615 1615
 //
1616
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1616
+// These require F.Malpartida's LiquidCrystal_I2C library
1617 1617
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1618 1618
 //
1619
-//#define LCD_I2C_SAINSMART_YWROBOT
1619
+//#define LCD_SAINSMART_I2C_1602
1620
+//#define LCD_SAINSMART_I2C_2004
1620 1621
 
1621 1622
 //
1622 1623
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Creality/CR-10S/Configuration.h 查看文件

@@ -1586,12 +1586,13 @@
1586 1586
 //#define RA_CONTROL_PANEL
1587 1587
 
1588 1588
 //
1589
-// Sainsmart YW Robot (LCM1602) LCD Display
1589
+// Sainsmart (YwRobot) LCD Displays
1590 1590
 //
1591
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1591
+// These require F.Malpartida's LiquidCrystal_I2C library
1592 1592
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1593 1593
 //
1594
-//#define LCD_I2C_SAINSMART_YWROBOT
1594
+//#define LCD_SAINSMART_I2C_1602
1595
+//#define LCD_SAINSMART_I2C_2004
1595 1596
 
1596 1597
 //
1597 1598
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Creality/Ender/Configuration.h 查看文件

@@ -1586,12 +1586,13 @@
1586 1586
 //#define RA_CONTROL_PANEL
1587 1587
 
1588 1588
 //
1589
-// Sainsmart YW Robot (LCM1602) LCD Display
1589
+// Sainsmart (YwRobot) LCD Displays
1590 1590
 //
1591
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1591
+// These require F.Malpartida's LiquidCrystal_I2C library
1592 1592
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1593 1593
 //
1594
-//#define LCD_I2C_SAINSMART_YWROBOT
1594
+//#define LCD_SAINSMART_I2C_1602
1595
+//#define LCD_SAINSMART_I2C_2004
1595 1596
 
1596 1597
 //
1597 1598
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Felix/Configuration.h 查看文件

@@ -1582,12 +1582,13 @@
1582 1582
 //#define RA_CONTROL_PANEL
1583 1583
 
1584 1584
 //
1585
-// Sainsmart YW Robot (LCM1602) LCD Display
1585
+// Sainsmart (YwRobot) LCD Displays
1586 1586
 //
1587
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1587
+// These require F.Malpartida's LiquidCrystal_I2C library
1588 1588
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1589 1589
 //
1590
-//#define LCD_I2C_SAINSMART_YWROBOT
1590
+//#define LCD_SAINSMART_I2C_1602
1591
+//#define LCD_SAINSMART_I2C_2004
1591 1592
 
1592 1593
 //
1593 1594
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Felix/DUAL/Configuration.h 查看文件

@@ -1582,12 +1582,13 @@
1582 1582
 //#define RA_CONTROL_PANEL
1583 1583
 
1584 1584
 //
1585
-// Sainsmart YW Robot (LCM1602) LCD Display
1585
+// Sainsmart (YwRobot) LCD Displays
1586 1586
 //
1587
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1587
+// These require F.Malpartida's LiquidCrystal_I2C library
1588 1588
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1589 1589
 //
1590
-//#define LCD_I2C_SAINSMART_YWROBOT
1590
+//#define LCD_SAINSMART_I2C_1602
1591
+//#define LCD_SAINSMART_I2C_2004
1591 1592
 
1592 1593
 //
1593 1594
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h 查看文件

@@ -1606,12 +1606,13 @@
1606 1606
 //#define RA_CONTROL_PANEL
1607 1607
 
1608 1608
 //
1609
-// Sainsmart YW Robot (LCM1602) LCD Display
1609
+// Sainsmart (YwRobot) LCD Displays
1610 1610
 //
1611
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1611
+// These require F.Malpartida's LiquidCrystal_I2C library
1612 1612
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1613 1613
 //
1614
-//#define LCD_I2C_SAINSMART_YWROBOT
1614
+//#define LCD_SAINSMART_I2C_1602
1615
+//#define LCD_SAINSMART_I2C_2004
1615 1616
 
1616 1617
 //
1617 1618
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h 查看文件

@@ -1615,12 +1615,13 @@
1615 1615
 //#define RA_CONTROL_PANEL
1616 1616
 
1617 1617
 //
1618
-// Sainsmart YW Robot (LCM1602) LCD Display
1618
+// Sainsmart (YwRobot) LCD Displays
1619 1619
 //
1620
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1620
+// These require F.Malpartida's LiquidCrystal_I2C library
1621 1621
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1622 1622
 //
1623
-//#define LCD_I2C_SAINSMART_YWROBOT
1623
+//#define LCD_SAINSMART_I2C_1602
1624
+//#define LCD_SAINSMART_I2C_2004
1624 1625
 
1625 1626
 //
1626 1627
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h 查看文件

@@ -1604,12 +1604,13 @@
1604 1604
 //#define RA_CONTROL_PANEL
1605 1605
 
1606 1606
 //
1607
-// Sainsmart YW Robot (LCM1602) LCD Display
1607
+// Sainsmart (YwRobot) LCD Displays
1608 1608
 //
1609
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1609
+// These require F.Malpartida's LiquidCrystal_I2C library
1610 1610
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1611 1611
 //
1612
-//#define LCD_I2C_SAINSMART_YWROBOT
1612
+//#define LCD_SAINSMART_I2C_1602
1613
+//#define LCD_SAINSMART_I2C_2004
1613 1614
 
1614 1615
 //
1615 1616
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h 查看文件

@@ -1603,12 +1603,13 @@
1603 1603
 //#define RA_CONTROL_PANEL
1604 1604
 
1605 1605
 //
1606
-// Sainsmart YW Robot (LCM1602) LCD Display
1606
+// Sainsmart (YwRobot) LCD Displays
1607 1607
 //
1608
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1608
+// These require F.Malpartida's LiquidCrystal_I2C library
1609 1609
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1610 1610
 //
1611
-//#define LCD_I2C_SAINSMART_YWROBOT
1611
+//#define LCD_SAINSMART_I2C_1602
1612
+//#define LCD_SAINSMART_I2C_2004
1612 1613
 
1613 1614
 //
1614 1615
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h 查看文件

@@ -1604,12 +1604,13 @@
1604 1604
 //#define RA_CONTROL_PANEL
1605 1605
 
1606 1606
 //
1607
-// Sainsmart YW Robot (LCM1602) LCD Display
1607
+// Sainsmart (YwRobot) LCD Displays
1608 1608
 //
1609
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1609
+// These require F.Malpartida's LiquidCrystal_I2C library
1610 1610
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1611 1611
 //
1612
-//#define LCD_I2C_SAINSMART_YWROBOT
1612
+//#define LCD_SAINSMART_I2C_1602
1613
+//#define LCD_SAINSMART_I2C_2004
1613 1614
 
1614 1615
 //
1615 1616
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/JGAurora/A5/Configuration.h 查看文件

@@ -1611,12 +1611,13 @@
1611 1611
 //#define RA_CONTROL_PANEL
1612 1612
 
1613 1613
 //
1614
-// Sainsmart YW Robot (LCM1602) LCD Display
1614
+// Sainsmart (YwRobot) LCD Displays
1615 1615
 //
1616
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1616
+// These require F.Malpartida's LiquidCrystal_I2C library
1617 1617
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1618 1618
 //
1619
-//#define LCD_I2C_SAINSMART_YWROBOT
1619
+//#define LCD_SAINSMART_I2C_1602
1620
+//#define LCD_SAINSMART_I2C_2004
1620 1621
 
1621 1622
 //
1622 1623
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/MakerParts/Configuration.h 查看文件

@@ -1620,12 +1620,13 @@
1620 1620
 //#define RA_CONTROL_PANEL
1621 1621
 
1622 1622
 //
1623
-// Sainsmart YW Robot (LCM1602) LCD Display
1623
+// Sainsmart (YwRobot) LCD Displays
1624 1624
 //
1625
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1625
+// These require F.Malpartida's LiquidCrystal_I2C library
1626 1626
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1627 1627
 //
1628
-//#define LCD_I2C_SAINSMART_YWROBOT
1628
+//#define LCD_SAINSMART_I2C_1602
1629
+//#define LCD_SAINSMART_I2C_2004
1629 1630
 
1630 1631
 //
1631 1632
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Malyan/M150/Configuration.h 查看文件

@@ -1628,12 +1628,13 @@
1628 1628
 //#define RA_CONTROL_PANEL
1629 1629
 
1630 1630
 //
1631
-// Sainsmart YW Robot (LCM1602) LCD Display
1631
+// Sainsmart (YwRobot) LCD Displays
1632 1632
 //
1633
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1633
+// These require F.Malpartida's LiquidCrystal_I2C library
1634 1634
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1635 1635
 //
1636
-//#define LCD_I2C_SAINSMART_YWROBOT
1636
+//#define LCD_SAINSMART_I2C_1602
1637
+//#define LCD_SAINSMART_I2C_2004
1637 1638
 
1638 1639
 //
1639 1640
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Malyan/M200/Configuration.h 查看文件

@@ -1599,12 +1599,13 @@
1599 1599
 //#define RA_CONTROL_PANEL
1600 1600
 
1601 1601
 //
1602
-// Sainsmart YW Robot (LCM1602) LCD Display
1602
+// Sainsmart (YwRobot) LCD Displays
1603 1603
 //
1604
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1604
+// These require F.Malpartida's LiquidCrystal_I2C library
1605 1605
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1606 1606
 //
1607
-//#define LCD_I2C_SAINSMART_YWROBOT
1607
+//#define LCD_SAINSMART_I2C_1602
1608
+//#define LCD_SAINSMART_I2C_2004
1608 1609
 
1609 1610
 //
1610 1611
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h 查看文件

@@ -1604,12 +1604,13 @@
1604 1604
 //#define RA_CONTROL_PANEL
1605 1605
 
1606 1606
 //
1607
-// Sainsmart YW Robot (LCM1602) LCD Display
1607
+// Sainsmart (YwRobot) LCD Displays
1608 1608
 //
1609
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1609
+// These require F.Malpartida's LiquidCrystal_I2C library
1610 1610
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1611 1611
 //
1612
-//#define LCD_I2C_SAINSMART_YWROBOT
1612
+//#define LCD_SAINSMART_I2C_1602
1613
+//#define LCD_SAINSMART_I2C_2004
1613 1614
 
1614 1615
 //
1615 1616
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h 查看文件

@@ -1604,12 +1604,13 @@
1604 1604
 //#define RA_CONTROL_PANEL
1605 1605
 
1606 1606
 //
1607
-// Sainsmart YW Robot (LCM1602) LCD Display
1607
+// Sainsmart (YwRobot) LCD Displays
1608 1608
 //
1609
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1609
+// These require F.Malpartida's LiquidCrystal_I2C library
1610 1610
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1611 1611
 //
1612
-//#define LCD_I2C_SAINSMART_YWROBOT
1612
+//#define LCD_SAINSMART_I2C_1602
1613
+//#define LCD_SAINSMART_I2C_2004
1613 1614
 
1614 1615
 //
1615 1616
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Mks/Sbase/Configuration.h 查看文件

@@ -1602,12 +1602,13 @@
1602 1602
 //#define RA_CONTROL_PANEL
1603 1603
 
1604 1604
 //
1605
-// Sainsmart YW Robot (LCM1602) LCD Display
1605
+// Sainsmart (YwRobot) LCD Displays
1606 1606
 //
1607
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1607
+// These require F.Malpartida's LiquidCrystal_I2C library
1608 1608
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1609 1609
 //
1610
-//#define LCD_I2C_SAINSMART_YWROBOT
1610
+//#define LCD_SAINSMART_I2C_1602
1611
+//#define LCD_SAINSMART_I2C_2004
1611 1612
 
1612 1613
 //
1613 1614
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/RigidBot/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/SCARA/Configuration.h 查看文件

@@ -1612,12 +1612,13 @@
1612 1612
 //#define RA_CONTROL_PANEL
1613 1613
 
1614 1614
 //
1615
-// Sainsmart YW Robot (LCM1602) LCD Display
1615
+// Sainsmart (YwRobot) LCD Displays
1616 1616
 //
1617
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1617
+// These require F.Malpartida's LiquidCrystal_I2C library
1618 1618
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1619 1619
 //
1620
-//#define LCD_I2C_SAINSMART_YWROBOT
1620
+//#define LCD_SAINSMART_I2C_1602
1621
+//#define LCD_SAINSMART_I2C_2004
1621 1622
 
1622 1623
 //
1623 1624
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/STM32F10/Configuration.h 查看文件

@@ -1603,12 +1603,13 @@
1603 1603
 //#define RA_CONTROL_PANEL
1604 1604
 
1605 1605
 //
1606
-// Sainsmart YW Robot (LCM1602) LCD Display
1606
+// Sainsmart (YwRobot) LCD Displays
1607 1607
 //
1608
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1608
+// These require F.Malpartida's LiquidCrystal_I2C library
1609 1609
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1610 1610
 //
1611
-//#define LCD_I2C_SAINSMART_YWROBOT
1611
+//#define LCD_SAINSMART_I2C_1602
1612
+//#define LCD_SAINSMART_I2C_2004
1612 1613
 
1613 1614
 //
1614 1615
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Sanguinololu/Configuration.h 查看文件

@@ -1631,12 +1631,13 @@
1631 1631
 //#define RA_CONTROL_PANEL
1632 1632
 
1633 1633
 //
1634
-// Sainsmart YW Robot (LCM1602) LCD Display
1634
+// Sainsmart (YwRobot) LCD Displays
1635 1635
 //
1636
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1636
+// These require F.Malpartida's LiquidCrystal_I2C library
1637 1637
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1638 1638
 //
1639
-//#define LCD_I2C_SAINSMART_YWROBOT
1639
+//#define LCD_SAINSMART_I2C_1602
1640
+//#define LCD_SAINSMART_I2C_2004
1640 1641
 
1641 1642
 //
1642 1643
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/TheBorg/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/TinyBoy2/Configuration.h 查看文件

@@ -1656,12 +1656,13 @@
1656 1656
 //#define RA_CONTROL_PANEL
1657 1657
 
1658 1658
 //
1659
-// Sainsmart YW Robot (LCM1602) LCD Display
1659
+// Sainsmart (YwRobot) LCD Displays
1660 1660
 //
1661
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1661
+// These require F.Malpartida's LiquidCrystal_I2C library
1662 1662
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1663 1663
 //
1664
-//#define LCD_I2C_SAINSMART_YWROBOT
1664
+//#define LCD_SAINSMART_I2C_1602
1665
+//#define LCD_SAINSMART_I2C_2004
1665 1666
 
1666 1667
 //
1667 1668
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Tronxy/X1/Configuration.h 查看文件

@@ -1585,12 +1585,13 @@
1585 1585
 //#define RA_CONTROL_PANEL
1586 1586
 
1587 1587
 //
1588
-// Sainsmart YW Robot (LCM1602) LCD Display
1588
+// Sainsmart (YwRobot) LCD Displays
1589 1589
 //
1590
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1590
+// These require F.Malpartida's LiquidCrystal_I2C library
1591 1591
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1592 1592
 //
1593
-//#define LCD_I2C_SAINSMART_YWROBOT
1593
+//#define LCD_SAINSMART_I2C_1602
1594
+//#define LCD_SAINSMART_I2C_2004
1594 1595
 
1595 1596
 //
1596 1597
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Tronxy/X5S/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Tronxy/XY100/Configuration.h 查看文件

@@ -1611,12 +1611,13 @@
1611 1611
 //#define RA_CONTROL_PANEL
1612 1612
 
1613 1613
 //
1614
-// Sainsmart YW Robot (LCM1602) LCD Display
1614
+// Sainsmart (YwRobot) LCD Displays
1615 1615
 //
1616
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1616
+// These require F.Malpartida's LiquidCrystal_I2C library
1617 1617
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1618 1618
 //
1619
-//#define LCD_I2C_SAINSMART_YWROBOT
1619
+//#define LCD_SAINSMART_I2C_1602
1620
+//#define LCD_SAINSMART_I2C_2004
1620 1621
 
1621 1622
 //
1622 1623
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h 查看文件

@@ -1591,12 +1591,13 @@
1591 1591
 //#define RA_CONTROL_PANEL
1592 1592
 
1593 1593
 //
1594
-// Sainsmart YW Robot (LCM1602) LCD Display
1594
+// Sainsmart (YwRobot) LCD Displays
1595 1595
 //
1596
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1596
+// These require F.Malpartida's LiquidCrystal_I2C library
1597 1597
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1598 1598
 //
1599
-//#define LCD_I2C_SAINSMART_YWROBOT
1599
+//#define LCD_SAINSMART_I2C_1602
1600
+//#define LCD_SAINSMART_I2C_2004
1600 1601
 
1601 1602
 //
1602 1603
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Velleman/K8200/Configuration.h 查看文件

@@ -1633,12 +1633,13 @@
1633 1633
 //#define RA_CONTROL_PANEL
1634 1634
 
1635 1635
 //
1636
-// Sainsmart YW Robot (LCM1602) LCD Display
1636
+// Sainsmart (YwRobot) LCD Displays
1637 1637
 //
1638
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1638
+// These require F.Malpartida's LiquidCrystal_I2C library
1639 1639
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1640 1640
 //
1641
-//#define LCD_I2C_SAINSMART_YWROBOT
1641
+//#define LCD_SAINSMART_I2C_1602
1642
+//#define LCD_SAINSMART_I2C_2004
1642 1643
 
1643 1644
 //
1644 1645
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Velleman/K8400/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h 查看文件

@@ -1594,12 +1594,13 @@
1594 1594
 //#define RA_CONTROL_PANEL
1595 1595
 
1596 1596
 //
1597
-// Sainsmart YW Robot (LCM1602) LCD Display
1597
+// Sainsmart (YwRobot) LCD Displays
1598 1598
 //
1599
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1599
+// These require F.Malpartida's LiquidCrystal_I2C library
1600 1600
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1601 1601
 //
1602
-//#define LCD_I2C_SAINSMART_YWROBOT
1602
+//#define LCD_SAINSMART_I2C_1602
1603
+//#define LCD_SAINSMART_I2C_2004
1603 1604
 
1604 1605
 //
1605 1606
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h 查看文件

@@ -1541,12 +1541,13 @@
1541 1541
 //#define RA_CONTROL_PANEL
1542 1542
 
1543 1543
 //
1544
-// Sainsmart YW Robot (LCM1602) LCD Display
1544
+// Sainsmart (YwRobot) LCD Displays
1545 1545
 //
1546
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1546
+// These require F.Malpartida's LiquidCrystal_I2C library
1547 1547
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1548 1548
 //
1549
-//#define LCD_I2C_SAINSMART_YWROBOT
1549
+//#define LCD_SAINSMART_I2C_1602
1550
+//#define LCD_SAINSMART_I2C_2004
1550 1551
 
1551 1552
 //
1552 1553
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/adafruit/ST7565/Configuration.h 查看文件

@@ -1600,12 +1600,13 @@
1600 1600
 //#define RA_CONTROL_PANEL
1601 1601
 
1602 1602
 //
1603
-// Sainsmart YW Robot (LCM1602) LCD Display
1603
+// Sainsmart (YwRobot) LCD Displays
1604 1604
 //
1605
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1605
+// These require F.Malpartida's LiquidCrystal_I2C library
1606 1606
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1607 1607
 //
1608
-//#define LCD_I2C_SAINSMART_YWROBOT
1608
+//#define LCD_SAINSMART_I2C_1602
1609
+//#define LCD_SAINSMART_I2C_2004
1609 1610
 
1610 1611
 //
1611 1612
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h 查看文件

@@ -1734,12 +1734,13 @@
1734 1734
 //#define RA_CONTROL_PANEL
1735 1735
 
1736 1736
 //
1737
-// Sainsmart YW Robot (LCM1602) LCD Display
1737
+// Sainsmart (YwRobot) LCD Displays
1738 1738
 //
1739
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1739
+// These require F.Malpartida's LiquidCrystal_I2C library
1740 1740
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1741 1741
 //
1742
-//#define LCD_I2C_SAINSMART_YWROBOT
1742
+//#define LCD_SAINSMART_I2C_1602
1743
+//#define LCD_SAINSMART_I2C_2004
1743 1744
 
1744 1745
 //
1745 1746
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h 查看文件

@@ -1719,12 +1719,13 @@
1719 1719
 //#define RA_CONTROL_PANEL
1720 1720
 
1721 1721
 //
1722
-// Sainsmart YW Robot (LCM1602) LCD Display
1722
+// Sainsmart (YwRobot) LCD Displays
1723 1723
 //
1724
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1724
+// These require F.Malpartida's LiquidCrystal_I2C library
1725 1725
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1726 1726
 //
1727
-//#define LCD_I2C_SAINSMART_YWROBOT
1727
+//#define LCD_SAINSMART_I2C_1602
1728
+//#define LCD_SAINSMART_I2C_2004
1728 1729
 
1729 1730
 //
1730 1731
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h 查看文件

@@ -1732,12 +1732,13 @@
1732 1732
 //#define RA_CONTROL_PANEL
1733 1733
 
1734 1734
 //
1735
-// Sainsmart YW Robot (LCM1602) LCD Display
1735
+// Sainsmart (YwRobot) LCD Displays
1736 1736
 //
1737
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1737
+// These require F.Malpartida's LiquidCrystal_I2C library
1738 1738
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1739 1739
 //
1740
-//#define LCD_I2C_SAINSMART_YWROBOT
1740
+//#define LCD_SAINSMART_I2C_1602
1741
+//#define LCD_SAINSMART_I2C_2004
1741 1742
 
1742 1743
 //
1743 1744
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/delta/generic/Configuration.h 查看文件

@@ -1721,12 +1721,13 @@
1721 1721
 //#define RA_CONTROL_PANEL
1722 1722
 
1723 1723
 //
1724
-// Sainsmart YW Robot (LCM1602) LCD Display
1724
+// Sainsmart (YwRobot) LCD Displays
1725 1725
 //
1726
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1726
+// These require F.Malpartida's LiquidCrystal_I2C library
1727 1727
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1728 1728
 //
1729
-//#define LCD_I2C_SAINSMART_YWROBOT
1729
+//#define LCD_SAINSMART_I2C_1602
1730
+//#define LCD_SAINSMART_I2C_2004
1730 1731
 
1731 1732
 //
1732 1733
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/delta/kossel_mini/Configuration.h 查看文件

@@ -1724,12 +1724,13 @@
1724 1724
 //#define RA_CONTROL_PANEL
1725 1725
 
1726 1726
 //
1727
-// Sainsmart YW Robot (LCM1602) LCD Display
1727
+// Sainsmart (YwRobot) LCD Displays
1728 1728
 //
1729
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1729
+// These require F.Malpartida's LiquidCrystal_I2C library
1730 1730
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1731 1731
 //
1732
-//#define LCD_I2C_SAINSMART_YWROBOT
1732
+//#define LCD_SAINSMART_I2C_1602
1733
+//#define LCD_SAINSMART_I2C_2004
1733 1734
 
1734 1735
 //
1735 1736
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/delta/kossel_pro/Configuration.h 查看文件

@@ -1724,12 +1724,13 @@
1724 1724
 //#define RA_CONTROL_PANEL
1725 1725
 
1726 1726
 //
1727
-// Sainsmart YW Robot (LCM1602) LCD Display
1727
+// Sainsmart (YwRobot) LCD Displays
1728 1728
 //
1729
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1729
+// These require F.Malpartida's LiquidCrystal_I2C library
1730 1730
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1731 1731
 //
1732
-//#define LCD_I2C_SAINSMART_YWROBOT
1732
+//#define LCD_SAINSMART_I2C_1602
1733
+//#define LCD_SAINSMART_I2C_2004
1733 1734
 
1734 1735
 //
1735 1736
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/delta/kossel_xl/Configuration.h 查看文件

@@ -1733,12 +1733,13 @@
1733 1733
 //#define RA_CONTROL_PANEL
1734 1734
 
1735 1735
 //
1736
-// Sainsmart YW Robot (LCM1602) LCD Display
1736
+// Sainsmart (YwRobot) LCD Displays
1737 1737
 //
1738
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1738
+// These require F.Malpartida's LiquidCrystal_I2C library
1739 1739
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1740 1740
 //
1741
-//#define LCD_I2C_SAINSMART_YWROBOT
1741
+//#define LCD_SAINSMART_I2C_1602
1742
+//#define LCD_SAINSMART_I2C_2004
1742 1743
 
1743 1744
 //
1744 1745
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h 查看文件

@@ -1614,12 +1614,13 @@
1614 1614
 //#define RA_CONTROL_PANEL
1615 1615
 
1616 1616
 //
1617
-// Sainsmart YW Robot (LCM1602) LCD Display
1617
+// Sainsmart (YwRobot) LCD Displays
1618 1618
 //
1619
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1619
+// These require F.Malpartida's LiquidCrystal_I2C library
1620 1620
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1621 1621
 //
1622
-//#define LCD_I2C_SAINSMART_YWROBOT
1622
+//#define LCD_SAINSMART_I2C_1602
1623
+//#define LCD_SAINSMART_I2C_2004
1623 1624
 
1624 1625
 //
1625 1626
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/makibox/Configuration.h 查看文件

@@ -1603,12 +1603,13 @@
1603 1603
 //#define RA_CONTROL_PANEL
1604 1604
 
1605 1605
 //
1606
-// Sainsmart YW Robot (LCM1602) LCD Display
1606
+// Sainsmart (YwRobot) LCD Displays
1607 1607
 //
1608
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1608
+// These require F.Malpartida's LiquidCrystal_I2C library
1609 1609
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1610 1610
 //
1611
-//#define LCD_I2C_SAINSMART_YWROBOT
1611
+//#define LCD_SAINSMART_I2C_1602
1612
+//#define LCD_SAINSMART_I2C_2004
1612 1613
 
1613 1614
 //
1614 1615
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/stm32f103ret6/Configuration.h 查看文件

@@ -1601,12 +1601,13 @@
1601 1601
 //#define RA_CONTROL_PANEL
1602 1602
 
1603 1603
 //
1604
-// Sainsmart YW Robot (LCM1602) LCD Display
1604
+// Sainsmart (YwRobot) LCD Displays
1605 1605
 //
1606
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1606
+// These require F.Malpartida's LiquidCrystal_I2C library
1607 1607
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1608 1608
 //
1609
-//#define LCD_I2C_SAINSMART_YWROBOT
1609
+//#define LCD_SAINSMART_I2C_1602
1610
+//#define LCD_SAINSMART_I2C_2004
1610 1611
 
1611 1612
 //
1612 1613
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/tvrrug/Round2/Configuration.h 查看文件

@@ -1595,12 +1595,13 @@
1595 1595
 //#define RA_CONTROL_PANEL
1596 1596
 
1597 1597
 //
1598
-// Sainsmart YW Robot (LCM1602) LCD Display
1598
+// Sainsmart (YwRobot) LCD Displays
1599 1599
 //
1600
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1600
+// These require F.Malpartida's LiquidCrystal_I2C library
1601 1601
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1602 1602
 //
1603
-//#define LCD_I2C_SAINSMART_YWROBOT
1603
+//#define LCD_SAINSMART_I2C_1602
1604
+//#define LCD_SAINSMART_I2C_2004
1604 1605
 
1605 1606
 //
1606 1607
 // Generic LCM1602 LCD adapter

+ 4
- 3
Marlin/src/config/examples/wt150/Configuration.h 查看文件

@@ -1605,12 +1605,13 @@
1605 1605
 //#define RA_CONTROL_PANEL
1606 1606
 
1607 1607
 //
1608
-// Sainsmart YW Robot (LCM1602) LCD Display
1608
+// Sainsmart (YwRobot) LCD Displays
1609 1609
 //
1610
-// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
1610
+// These require F.Malpartida's LiquidCrystal_I2C library
1611 1611
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
1612 1612
 //
1613
-//#define LCD_I2C_SAINSMART_YWROBOT
1613
+//#define LCD_SAINSMART_I2C_1602
1614
+//#define LCD_SAINSMART_I2C_2004
1614 1615
 
1615 1616
 //
1616 1617
 // Generic LCM1602 LCD adapter

+ 8
- 7
Marlin/src/inc/Conditionals_LCD.h 查看文件

@@ -205,14 +205,15 @@
205 205
  * I2C PANELS
206 206
  */
207 207
 
208
-#if ENABLED(LCD_I2C_SAINSMART_YWROBOT)
209
-
210
-  // Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
211
-  // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
208
+#if ENABLED(LCD_SAINSMART_I2C_1602) || ENABLED(LCD_SAINSMART_I2C_2004)
212 209
 
213 210
   #define LCD_I2C_TYPE_PCF8575
214 211
   #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
215
-  #define ULTIPANEL
212
+
213
+  #if ENABLED(LCD_SAINSMART_I2C_2004)
214
+    #define LCD_WIDTH 20
215
+    #define LCD_HEIGHT 4
216
+  #endif
216 217
 
217 218
 #elif ENABLED(LCD_I2C_PANELOLU2)
218 219
 
@@ -220,7 +221,7 @@
220 221
 
221 222
   #define LCD_I2C_TYPE_MCP23017
222 223
   #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
223
-  #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD
224
+  #define LCD_USE_I2C_BUZZER   // Enable buzzer on LCD (optional)
224 225
   #define ULTIPANEL
225 226
 
226 227
 #elif ENABLED(LCD_I2C_VIKI)
@@ -235,7 +236,7 @@
235 236
    */
236 237
   #define LCD_I2C_TYPE_MCP23017
237 238
   #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
238
-  #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)
239
+  #define LCD_USE_I2C_BUZZER   // Enable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)
239 240
   #define ULTIPANEL
240 241
 
241 242
   #define ENCODER_FEEDRATE_DEADZONE 4

+ 6
- 1
Marlin/src/inc/SanityCheck.h 查看文件

@@ -241,6 +241,8 @@
241 241
   #error "PROBE_DOUBLE_TOUCH is now MULTIPLE_PROBING. Please update your configuration."
242 242
 #elif defined(ANET_KEYPAD_LCD)
243 243
   #error "ANET_KEYPAD_LCD is now ZONESTAR_LCD. Please update your configuration."
244
+#elif defined(LCD_I2C_SAINSMART_YWROBOT)
245
+  #error "LCD_I2C_SAINSMART_YWROBOT is now LCD_SAINSMART_I2C_(1602|2004). Please update your configuration."
244 246
 #elif defined(MEASURED_LOWER_LIMIT) || defined(MEASURED_UPPER_LIMIT)
245 247
   #error "MEASURED_(UPPER|LOWER)_LIMIT is now FILWIDTH_ERROR_MARGIN. Please update your configuration."
246 248
 #elif defined(AUTOMATIC_CURRENT_CONTROL)
@@ -1447,7 +1449,10 @@ static_assert(1 >= 0
1447 1449
   #if ENABLED(RA_CONTROL_PANEL)
1448 1450
     + 1
1449 1451
   #endif
1450
-  #if ENABLED(LCD_I2C_SAINSMART_YWROBOT)
1452
+  #if ENABLED(LCD_SAINSMART_I2C_1602)
1453
+    + 1
1454
+  #endif
1455
+  #if ENABLED(LCD_SAINSMART_I2C_2004)
1451 1456
     + 1
1452 1457
   #endif
1453 1458
   #if ENABLED(LCM1602)

Loading…
取消
儲存