Browse Source

Merge pull request #1401 from thinkyhead/issue_1379_printrboard_lcd

Proposed fix to #1379. Printrboard I2C LCD support
Scott Lahteine 9 years ago
parent
commit
415d95a298
1 changed files with 16 additions and 2 deletions
  1. 16
    2
      Marlin/pins.h

+ 16
- 2
Marlin/pins.h View File

@@ -1788,8 +1788,8 @@
1788 1788
   #endif //FILAMENT_SENSOR
1789 1789
 #endif
1790 1790
 
1791
-#define TEMP_1_PIN         2
1792
-#define TEMP_2_PIN         3
1791
+#define TEMP_1_PIN         -1
1792
+#define TEMP_2_PIN         -1
1793 1793
 
1794 1794
 #define SDPOWER            -1
1795 1795
 #define SDSS                8
@@ -1805,6 +1805,20 @@
1805 1805
   #define MOSI_PIN         10
1806 1806
 #endif
1807 1807
 
1808
+#if defined(ULTRA_LCD) && defined(NEWPANEL)
1809
+  //we have no buzzer installed
1810
+  #define BEEPER -1
1811
+  //LCD Pins
1812
+  #ifdef LCD_I2C_PANELOLU2
1813
+    #define BTN_EN1 27  //RX1 - fastio.h pin mapping 27
1814
+    #define BTN_EN2 26  //TX1 - fastio.h pin mapping 26
1815
+    #define BTN_ENC 43 //A3 - fastio.h pin mapping 43
1816
+    #define SDSS   40 //use SD card on Panelolu2 (Teensyduino pin mapping)
1817
+  #endif //LCD_I2C_PANELOLU2
1818
+  //not connected to a pin
1819
+  #define SDCARDDETECT -1    
1820
+#endif //Ultipanel && Newpanel
1821
+
1808 1822
 #endif // TEENSYLU || PRINTRBOARD
1809 1823
 
1810 1824
 /****************************************************************************************

Loading…
Cancel
Save