Fix for R.D.F.G.S.C. with MINITRONICS board
This commit is contained in:
		
							parent
							
								
									83d0d59303
								
							
						
					
					
						commit
						0eba65f96b
					
				@ -74,40 +74,40 @@
 | 
			
		||||
#define HEATER_1_PIN   8 // EXTRUDER 2
 | 
			
		||||
#define HEATER_BED_PIN 3 // BED
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Controllers and LCDs
 | 
			
		||||
 */
 | 
			
		||||
#define BEEPER_PIN -1
 | 
			
		||||
 | 
			
		||||
#if ENABLED(DOGLCD)
 | 
			
		||||
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
 | 
			
		||||
 | 
			
		||||
  #if ENABLED(U8GLIB_ST7920)
 | 
			
		||||
    #define LCD_PINS_RS     15 //CS chip select /SS chip slave select
 | 
			
		||||
    #define LCD_PINS_ENABLE 11 //SID (MOSI)
 | 
			
		||||
    #define LCD_PINS_D4     10 //SCK (CLK) clock     
 | 
			
		||||
  #define LCD_PINS_RS     15 // CS chip select /SS chip slave select
 | 
			
		||||
  #define LCD_PINS_ENABLE 11 // SID (MOSI)
 | 
			
		||||
  #define LCD_PINS_D4     10 // SCK (CLK) clock
 | 
			
		||||
 | 
			
		||||
    #define BTN_EN1 18
 | 
			
		||||
    #define BTN_EN2 17
 | 
			
		||||
    #define BTN_ENC 25
 | 
			
		||||
  #define BTN_EN1         18
 | 
			
		||||
  #define BTN_EN2         17
 | 
			
		||||
  #define BTN_ENC         25
 | 
			
		||||
 | 
			
		||||
    #define SD_DETECT_PIN 30
 | 
			
		||||
  #endif
 | 
			
		||||
  #define SD_DETECT_PIN   30
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
  #define LCD_PINS_RS -1
 | 
			
		||||
  #define LCD_PINS_RS     -1
 | 
			
		||||
  #define LCD_PINS_ENABLE -1
 | 
			
		||||
  #define LCD_PINS_D4 -1
 | 
			
		||||
  #define LCD_PINS_D5 -1
 | 
			
		||||
  #define LCD_PINS_D6 -1
 | 
			
		||||
  #define LCD_PINS_D7 -1
 | 
			
		||||
  #define LCD_PINS_D4     -1
 | 
			
		||||
  #define LCD_PINS_D5     -1
 | 
			
		||||
  #define LCD_PINS_D6     -1
 | 
			
		||||
  #define LCD_PINS_D7     -1
 | 
			
		||||
 | 
			
		||||
  // Buttons are directly attached using keypad
 | 
			
		||||
  #define BTN_EN1 -1
 | 
			
		||||
  #define BTN_EN2 -1
 | 
			
		||||
  #define BTN_ENC -1
 | 
			
		||||
  #define BTN_EN1         -1
 | 
			
		||||
  #define BTN_EN2         -1
 | 
			
		||||
  #define BTN_ENC         -1
 | 
			
		||||
 | 
			
		||||
  #define BLEN_C 2
 | 
			
		||||
  #define BLEN_B 1
 | 
			
		||||
  #define BLEN_A 0
 | 
			
		||||
 | 
			
		||||
  #define SD_DETECT_PIN -1  // Minitronics doesn't use this
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user