RUMBA Pin assignments for the RepRap graphics LCD Controller
Marlin pins.h for the RUMBA electronics
/* On some broken versions of the Sanguino libraries the pin definitions are wrong, which then needs SDSS as pin 24. But you better upgrade your Sanguino libraries! See #368. */ //#define SDSS 24 #ifdef ULTRA_LCD #ifdef NEWPANEL //we have a buzzer installed #define BEEPER 37 //LCD Pins #ifdef DOGLCD // Pins for DOGM SPI LCD Support #define DOGLCD_A0 23 // RAMPS AUX-4 Pin 16 #define DOGLCD_CS 17 // RAMPS AUX-4 Pin 17 // GLCD features #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 #define BTN_EN1 31 // RAMPS Aux-4 Pin 12 must be a hardware interrupt pin #define BTN_EN2 33 // RAMPS Aux-4 Pin 11 must be hardware interrupt pin #define BTN_ENC 35 // RAMPS Aux-4 Pin 10 the switch //not connected to a pin #define SDCARDDETECT 49 // RAMPS Aux-3 Pin 2 //from the same bit in the RAMPS Newpanel define //encoder rotation values #define encrot0 0 #define encrot1 2 #define encrot2 3 #define encrot3 1 #define BLEN_C 2 #define BLEN_B 1 #define BLEN_A 0 #endif //Newpanel #endif //Ultipanel #endif // An RAMPS Aux-3 Pin 18 hängt der Switch für den Lüfter, den musst Du direkt in der RAMPS Section der pins.h ändern. #define FAN_PIN 16
No comments:
Post a Comment