[Problema] Full graphic smart controller June 02, 2014 11:40AM |
Registered: 9 years ago Posts: 105 |
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: [code.google.com] #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER // The RepRapWorld REPRAPWORLD_KEYPAD v1.1 // [reprapworld.com] //#define REPRAPWORLD_KEYPAD //#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 // how much should be moved when a key is pressed, eg 10.0 means 10mm per click // The Elefu RA Board Control Panel // [www.elefu.com] // REMEMBER TO INSTALL LiquidCrystal_I2C.h in your ARUDINO library folder: [github.com] //#define RA_CONTROL_PANEL //automatic expansion //#if defined (MAKRPANEL) // #define DOGLCD // #define SDSUPPORT // #define ULTIPANEL // #define NEWPANEL // #define DEFAULT_LCD_CONTRAST 17 //#endif #if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) #define DOGLCD #define U8GLIB_ST7920 #define SDSUPPORT #define REPRAP_DISCOUNT_SMART_CONTROLLER #endif #if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL) #define ULTIPANEL //#define NEWPANEL #endif //#if defined(REPRAPWORLD_KEYPAD) // #define NEWPANEL // #define ULTIPANEL //#endif //#if defined(RA_CONTROL_PANEL) // #define ULTIPANEL // #define NEWPANEL // #define LCD_I2C_TYPE_PCA8574 // #define LCD_I2C_ADDRESS 0x27 // I2C Address of the port expander //#endif //I2C PANELS //#define LCD_I2C_SAINSMART_YWROBOT //#ifdef LCD_I2C_SAINSMART_YWROBOT // This uses the LiquidCrystal_I2C library ( [bitbucket.org] ) // Make sure it is placed in the Arduino libraries directory. // #define LCD_I2C_TYPE_PCF8575 // #define LCD_I2C_ADDRESS 0x27 // I2C Address of the port expander // #define NEWPANEL // #define ULTIPANEL //#endif // PANELOLU2 LCD with status LEDs, separate encoder and click inputs //#define LCD_I2C_PANELOLU2 //#ifdef LCD_I2C_PANELOLU2 // This uses the LiquidTWI2 library v1.2.3 or later ( [github.com] ) // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory. // (v1.2.3 no longer requires you to define PANELOLU in the LiquidTWI2.h library header file) // Note: The PANELOLU2 encoder click input can either be directly connected to a pin // (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1). //#define LCD_I2C_TYPE_MCP23017 // #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander // #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD // #define NEWPANEL // #define ULTIPANEL //#endif // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs //#define LCD_I2C_VIKI //#ifdef LCD_I2C_VIKI // This uses the LiquidTWI2 library v1.2.3 or later ( [github.com] ) // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory. // Note: The pause/stop/resume LCD button pin should be connected to the Arduino // BTN_ENC pin (or set BTN_ENC to -1 if not used) // #define LCD_I2C_TYPE_MCP23017 // #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander // #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later) // #define NEWPANEL // #define ULTIPANEL //#endif #ifdef ULTIPANEL #define NEWPANEL //enable this if you have a click-encoder panel #define SDSUPPORT #define ULTRA_LCD #ifdef DOGLCD // Change number of lines to match the DOG graphic display #define LCD_WIDTH 20 #define LCD_HEIGHT 5 #else #define LCD_WIDTH 20 #define LCD_HEIGHT 4 #endif #else //no panel but just lcd #ifdef ULTRA_LCD #ifdef DOGLCD // Change number of lines to match the 128x64 graphics display #define LCD_WIDTH 20 #define LCD_HEIGHT 5 #else #define LCD_WIDTH 16 #define LCD_HEIGHT 2 #endif #endif #endif // default LCD contrast for dogm-like LCD displays #ifdef DOGLCD # ifndef DEFAULT_LCD_CONTRAST # define DEFAULT_LCD_CONTRAST 32 # endif #endif
Re: [Problema] Full graphic smart controller June 02, 2014 12:12PM |
Moderator Registered: 12 years ago Posts: 367 |
Este es un ejemplo
Re: [Problema] Full graphic smart controller June 02, 2014 12:15PM |
Registered: 9 years ago Posts: 105 |
Re: [Problema] Full graphic smart controller June 02, 2014 12:21PM |
Registered: 10 years ago Posts: 721 |
Re: [Problema] Full graphic smart controller June 02, 2014 12:35PM |
Registered: 9 years ago Posts: 105 |
Re: [Problema] Full graphic smart controller June 02, 2014 12:41PM |
Registered: 10 years ago Posts: 721 |
Quote
manuel19941
Mmm, ahi estoy hablando con David de 3dinsumos que es el que me lo vendio, no me siento seguro de desoldarlo al encoder, y como seria lo del anti rebote ?
Re: [Problema] Full graphic smart controller June 02, 2014 01:05PM |
Registered: 9 years ago Posts: 105 |
Re: [Problema] Full graphic smart controller June 02, 2014 01:27PM |
Registered: 10 years ago Posts: 721 |
Re: [Problema] Full graphic smart controller October 29, 2016 10:51PM |
Registered: 7 years ago Posts: 1 |