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 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31
#define BTN_EN2 33
......@@ -1145,6 +1146,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31
#define BTN_EN2 33
......@@ -1344,6 +1346,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31
#define BTN_EN2 33
......@@ -1543,6 +1546,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31
#define BTN_EN2 33
......@@ -2026,6 +2030,8 @@
#ifdef NEWPANEL
//we have no buzzer installed
#define BEEPER -1
//we can't regulate contrast by default
#define LCD_CONTRAST -1
//LCD Pins
#ifdef DOGLCD
#ifdef U8GLIB_ST7920 //SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
......@@ -2037,7 +2043,7 @@
// Pins for DOGM SPI LCD Support
#define DOGLCD_A0 30
#define DOGLCD_CS 29
#define LCD_CONTRAST 1
#define LCD_CONTRAST 1
#endif
// Uncomment screen orientation
#define LCD_SCREEN_ROT_0
......@@ -2205,7 +2211,8 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31
#define BTN_EN2 33
#define BTN_ENC 35
......@@ -2409,6 +2416,7 @@
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
#define BEEPER 37
#define LCD_CONTRAST -1
#define BTN_EN1 31
#define BTN_EN2 33
......@@ -4514,3 +4522,4 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
#define HAS_DIGIPOTSS (DIGIPOTSS_PIN >= 0)
#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