Commit e519c1c4 authored by Simone's avatar Simone

Update pins.h

defined LCD_CONTRAST -1 for each MB as a default
parent ba8f964e
...@@ -946,6 +946,7 @@ ...@@ -946,6 +946,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37 #define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
...@@ -1145,6 +1146,7 @@ ...@@ -1145,6 +1146,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37 #define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
...@@ -1344,6 +1346,7 @@ ...@@ -1344,6 +1346,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37 #define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
...@@ -1543,6 +1546,7 @@ ...@@ -1543,6 +1546,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37 #define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
...@@ -2026,6 +2030,8 @@ ...@@ -2026,6 +2030,8 @@
#ifdef NEWPANEL #ifdef NEWPANEL
//we have no buzzer installed //we have no buzzer installed
#define BEEPER -1 #define BEEPER -1
//we can't regulate contrast by default
#define LCD_CONTRAST -1
//LCD Pins //LCD Pins
#ifdef DOGLCD #ifdef DOGLCD
#ifdef U8GLIB_ST7920 //SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0 #ifdef U8GLIB_ST7920 //SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
...@@ -2205,6 +2211,7 @@ ...@@ -2205,6 +2211,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37 #define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
...@@ -2409,6 +2416,7 @@ ...@@ -2409,6 +2416,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37 #define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
...@@ -4514,3 +4522,4 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a ...@@ -4514,3 +4522,4 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
#define HAS_DIGIPOTSS (DIGIPOTSS_PIN >= 0) #define HAS_DIGIPOTSS (DIGIPOTSS_PIN >= 0)
#endif //__PINS_H #endif //__PINS_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment