Browse Source

Add pins for Motherboard variant 64

These definition contain also the definition for the graphics LCD.
pull/1/head
Dirk Eichel 12 years ago
parent
commit
140e095c6e
  1. 35
      Marlin/pins.h

35
Marlin/pins.h

@ -644,10 +644,13 @@
* Sanguinololu pin assignment * Sanguinololu pin assignment
* *
****************************************************************************************/ ****************************************************************************************/
#if MOTHERBOARD == 64
#define STB
#endif
#if MOTHERBOARD == 63 #if MOTHERBOARD == 63
#define MELZI #define MELZI
#endif #endif
#if MOTHERBOARD == 62 || MOTHERBOARD == 63 #if MOTHERBOARD == 62 || MOTHERBOARD == 63 || MOTHERBOARD == 64
#undef MOTHERBOARD #undef MOTHERBOARD
#define MOTHERBOARD 6 #define MOTHERBOARD 6
#define SANGUINOLOLU_V_1_2 #define SANGUINOLOLU_V_1_2
@ -687,6 +690,10 @@
#define FAN_PIN 4 #define FAN_PIN 4
#endif #endif
#ifdef STB
#define FAN_PIN 4
#endif
#define PS_ON_PIN -1 #define PS_ON_PIN -1
#define KILL_PIN -1 #define KILL_PIN -1
@ -727,13 +734,25 @@
//we have no buzzer installed //we have no buzzer installed
#define BEEPER -1 #define BEEPER -1
//LCD Pins //LCD Pins
#define LCD_PINS_RS 4 #ifdef DOGLCD
#define LCD_PINS_ENABLE 17 // Pins for DOGM SPI LCD Support
#define LCD_PINS_D4 30 #define DOGLCD_A0 30
#define LCD_PINS_D5 29 #define DOGLCD_CS 29
#define LCD_PINS_D6 28 // GLCD features
#define LCD_PINS_D7 27 #define LCD_CONTRAST 1
// Uncomment screen orientation
// #define LCD_SCREEN_ROT_0
// #define LCD_SCREEN_ROT_90
#define LCD_SCREEN_ROT_180
// #define LCD_SCREEN_ROT_270
#else // standard Hitachi LCD controller
#define LCD_PINS_RS 4
#define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 30
#define LCD_PINS_D5 29
#define LCD_PINS_D6 28
#define LCD_PINS_D7 27
#endif
//The encoder and click button //The encoder and click button
#define BTN_EN1 11 //must be a hardware interrupt pin #define BTN_EN1 11 //must be a hardware interrupt pin
#define BTN_EN2 10 //must be hardware interrupt pin #define BTN_EN2 10 //must be hardware interrupt pin

Loading…
Cancel
Save