GLCD 128/64 sur melzi 1284p January 08, 2014 05:25PM |
Registered: 12 years ago Posts: 766 |
Quote
#ifdef ULTRA_LCD
#ifdef NEWPANEL
//we have no buzzer installed
#define BEEPER -1
//LCD Pins
#ifdef DOGLCD
// Pins for DOGM SPI LCD Support
#define DOGLCD_A0 30
#define DOGLCD_CS 29
// 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 11
#define BTN_EN2 10
#ifdef LCD_I2C_PANELOLU2
#ifdef MELZI
#define BTN_ENC 29 //the click switch
#define SDSS 30 //to use the SD card reader on the Panelolu2 rather than the melzi board
#else
#define BTN_ENC 30 //the click switch
#endif
#else
#define BTN_ENC 16 //the click switch
#endif //Panelolu2
//not connected to a pin
#define SDCARDDETECT -1
Quote
#ifdef ULTRA_LCD
#ifdef NEWPANEL
//we have no buzzer installed
#define BEEPER -1
//LCD Pins
#ifdef DOGLCD
#ifdef U8GLIB_ST7920 //SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
#define LCD_PINS_RS 30 //CS
#define LCD_PINS_ENABLE 29 //SID (MOSI)
#define LCD_PINS_D4 17 //SCK (CLK)
#define BEEPER 27 // Pin 27 is take by LED_Pin, but Melzi LED do nothing with Marlin and I take this pin for BEEPER.... See here > [github.com] , If you want use this pin with Gcode M42 instead BEEPER
// Pins for DOGM SPI LCD Support
#else
#define DOGLCD_A0 30
#define DOGLCD_CS 29
#define LCD_CONTRAST 1
#endif
// GLCD features
// 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 11
#define BTN_EN2 10
#ifdef LCD_I2C_PANELOLU2
#ifdef MELZI
#define BTN_ENC 29 //the click switch
#define SDSS 30 //to use the SD card reader on the Panelolu2 rather than the melzi board
#else
#define BTN_ENC 30 //the click switch
#endif
#else
#define BTN_ENC 16 //the click switch
#endif //Panelolu2
//not connected to a pin
#define SDCARDDETECT -1
Re: [beta test] GLCD 128/64 sur melzi 1284p January 08, 2014 06:52PM |
Registered: 11 years ago Posts: 56 |
Re: GLCD 128/64 sur melzi 1284p January 09, 2014 02:59AM |
Registered: 12 years ago Posts: 766 |
Quote
#define LANGUAGE_CHOICE 1
Quote
// #define CUSTOM_MENDEL_NAME "This Mendel"
Re: GLCD 128/64 sur melzi 1284p January 09, 2014 05:38AM |
Registered: 12 years ago Posts: 432 |
Re: [beta test] GLCD 128/64 sur melzi 1284p January 10, 2014 05:20PM |
Registered: 12 years ago Posts: 432 |
Re: GLCD 128/64 sur melzi 1284p January 10, 2014 05:39PM |
Registered: 12 years ago Posts: 766 |
Quote
#ifdef DOGLCD
// MENU_ITEM_EDIT(int3, MSG_CONTRAST, &lcd_contrast, 0, 63);
MENU_ITEM(submenu, MSG_CONTRAST, lcd_set_contrast);
#endif
Quote
#ifdef DOGLCD
#ifdef LCD_CONTRAST > 0
// MENU_ITEM_EDIT(int3, MSG_CONTRAST, &lcd_contrast, 0, 63);
MENU_ITEM(submenu, MSG_CONTRAST, lcd_set_contrast);
#endif
#endif
Re: GLCD 128/64 sur melzi 1284p January 12, 2014 05:49AM |
Registered: 12 years ago Posts: 54 |
Re: GLCD 128/64 sur melzi 1284p January 15, 2014 06:59PM |
Registered: 11 years ago Posts: 548 |
Re: GLCD 128/64 sur melzi 1284p January 16, 2014 02:43AM |
Registered: 12 years ago Posts: 766 |
Re: GLCD 128/64 sur melzi 1284p January 16, 2014 03:10AM |
Registered: 11 years ago Posts: 548 |
Re: GLCD 128/64 sur melzi 1284p January 16, 2014 03:14AM |
Registered: 12 years ago Posts: 766 |
Re: GLCD 128/64 sur melzi 1284p January 16, 2014 07:48AM |
Registered: 11 years ago Posts: 548 |
Re: GLCD 128/64 sur melzi 1284p January 16, 2014 07:54AM |
Registered: 12 years ago Posts: 766 |
Re: GLCD 128/64 sur melzi 1284p January 16, 2014 08:06AM |
Registered: 11 years ago Posts: 548 |
Re: GLCD 128/64 sur melzi 1284p January 16, 2014 02:42PM |
Registered: 12 years ago Posts: 54 |
Re: GLCD 128/64 sur melzi 1284p January 16, 2014 04:14PM |
Registered: 11 years ago Posts: 548 |
Re: GLCD 128/64 sur melzi 1284p April 17, 2014 06:01PM |
Registered: 10 years ago Posts: 1 |
Re: GLCD 128/64 sur melzi 1284p April 19, 2014 04:20PM |
Registered: 12 years ago Posts: 766 |
Re: GLCD 128/64 sur melzi 1284p April 20, 2014 04:29PM |
Registered: 10 years ago Posts: 101 |
Re: GLCD 128/64 sur melzi 1284p April 30, 2015 04:47PM |
Registered: 10 years ago Posts: 3 |
Re: [beta test] GLCD 128/64 sur melzi 1284p March 11, 2016 11:41AM |
Registered: 8 years ago Posts: 1 |
Re: [beta test] GLCD 128/64 sur melzi 1284p June 20, 2016 06:55AM |
Admin Registered: 12 years ago Posts: 2,569 |