Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //=============================================================================
- //============================= LCD and SD support ============================
- //=============================================================================
- // @section lcd
- /**
- * LCD LANGUAGE
- *
- * Select the language to display on the LCD. These languages are available:
- *
- * en, an, bg, ca, cn, cz, cz_utf8, de, el, el-gr, es, es_utf8,
- * eu, fi, fr, fr_utf8, gl, hr, it, kana, kana_utf8, nl, pl, pt,
- * pt_utf8, pt-br, pt-br_utf8, ru, sk_utf8, tr, uk, zh_CN, zh_TW, test
- *
- * :{ 'en':'English', 'an':'Aragonese', 'bg':'Bulgarian', 'ca':'Catalan', 'cn':'Chinese', 'cz':'Czech', 'cz_utf8':'Czech (UTF8)', 'de':'German', 'el':'Greek', 'el-gr':'Greek (Greece)', 'es':'Spanish', 'es_utf8':'Spanish (UTF8)', 'eu':'Basque-Euskera', 'fi':'Finnish', 'fr':'French', 'fr_utf8':'French (UTF8)', 'gl':'Galician', 'hr':'Croatian', 'it':'Italian', 'kana':'Japanese', 'kana_utf8':'Japanese (UTF8)', 'nl':'Dutch', 'pl':'Polish', 'pt':'Portuguese', 'pt-br':'Portuguese (Brazilian)', 'pt-br_utf8':'Portuguese (Brazilian UTF8)', 'pt_utf8':'Portuguese (UTF8)', 'ru':'Russian', 'sk_utf8':'Slovak (UTF8)', 'tr':'Turkish', 'uk':'Ukrainian', 'zh_CN':'Chinese (Simplified)', 'zh_TW':'Chinese (Taiwan)', 'test':'TEST' }
- */
- #define LCD_LANGUAGE es
- /**
- * LCD Character Set
- *
- * Note: This option is NOT applicable to Graphical Displays.
- *
- * All character-based LCDs provide ASCII plus one of these
- * language extensions:
- *
- * - JAPANESE ... the most common
- * - WESTERN ... with more accented characters
- * - CYRILLIC ... for the Russian language
- *
- * To determine the language extension installed on your controller:
- *
- * - Compile and upload with LCD_LANGUAGE set to 'test'
- * - Click the controller to view the LCD menu
- * - The LCD will display Japanese, Western, or Cyrillic text
- *
- * See http://marlinfw.org/docs/development/lcd_language.html
- *
- * :['JAPANESE', 'WESTERN', 'CYRILLIC']
- */
- #define DISPLAY_CHARSET_HD44780 JAPANESE
- /**
- * SD CARD
- *
- * SD Card support is disabled by default. If your controller has an SD slot,
- * you must uncomment the following option or it won't work.
- *
- */
- #define SDSUPPORT
- /**
- * SD CARD: SPI SPEED
- *
- * Enable one of the following items for a slower SPI transfer speed.
- * This may be required to resolve "volume init" errors.
- */
- //#define SPI_SPEED SPI_HALF_SPEED
- //#define SPI_SPEED SPI_QUARTER_SPEED
- //#define SPI_SPEED SPI_EIGHTH_SPEED
- /**
- * SD CARD: ENABLE CRC
- *
- * Use CRC checks and retries on the SD communication.
- */
- #define SD_CHECK_AND_RETRY
- /**
- * LCD Menu Items
- *
- * Disable all menus and only display the Status Screen, or
- * just remove some extraneous menu items to recover space.
- */
- //#define NO_LCD_MENUS
- //#define SLIM_LCD_MENUS
- //
- // ENCODER SETTINGS
- //
- // This option overrides the default number of encoder pulses needed to
- // produce one step. Should be increased for high-resolution encoders.
- //
- //#define ENCODER_PULSES_PER_STEP 4
- //
- // Use this option to override the number of step signals required to
- // move between next/prev menu items.
- //
- //#define ENCODER_STEPS_PER_MENU_ITEM 1
- /**
- * Encoder Direction Options
- *
- * Test your encoder's behavior first with both options disabled.
- *
- * Reversed Value Edit and Menu Nav? Enable REVERSE_ENCODER_DIRECTION.
- * Reversed Menu Navigation only? Enable REVERSE_MENU_DIRECTION.
- * Reversed Value Editing only? Enable BOTH options.
- */
- //
- // This option reverses the encoder direction everywhere.
- //
- // Set this option if CLOCKWISE causes values to DECREASE
- //
- //#define REVERSE_ENCODER_DIRECTION
- //
- // This option reverses the encoder direction for navigating LCD menus.
- //
- // If CLOCKWISE normally moves DOWN this makes it go UP.
- // If CLOCKWISE normally moves UP this makes it go DOWN.
- //
- //#define REVERSE_MENU_DIRECTION
- //
- // Individual Axis Homing
- //
- // Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
- //
- //#define INDIVIDUAL_AXIS_HOMING_MENU
- //
- // SPEAKER/BUZZER
- //
- // If you have a speaker that can produce tones, enable it here.
- // By default Marlin assumes you have a buzzer with a fixed frequency.
- //
- //#define SPEAKER
- //
- // The duration and frequency for the UI feedback sound.
- // Set these to 0 to disable audio feedback in the LCD menus.
- //
- // Note: Test audio output with the G-Code:
- // M300 S<frequency Hz> P<duration ms>
- //
- //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 2
- //#define LCD_FEEDBACK_FREQUENCY_HZ 5000
- //=============================================================================
- //======================== LCD / Controller Selection =========================
- //======================== (Character-based LCDs) =========================
- //=============================================================================
- //
- // RepRapDiscount Smart Controller.
- // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
- //
- // Note: Usually sold with a white PCB.
- //
- //#define REPRAP_DISCOUNT_SMART_CONTROLLER
- //
- // ULTIMAKER Controller.
- //
- //#define ULTIMAKERCONTROLLER
- //
- // ULTIPANEL as seen on Thingiverse.
- //
- //#define ULTIPANEL
- //
- // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
- // http://reprap.org/wiki/PanelOne
- //
- //#define PANEL_ONE
- //
- // GADGETS3D G3D LCD/SD Controller
- // http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
- //
- // Note: Usually sold with a blue PCB.
- //
- //#define G3D_PANEL
- //
- // RigidBot Panel V1.0
- // http://www.inventapart.com/
- //
- //#define RIGIDBOT_PANEL
- //
- // Makeboard 3D Printer Parts 3D Printer Mini Display 1602 Mini Controller
- // https://www.aliexpress.com/item/Micromake-Makeboard-3D-Printer-Parts-3D-Printer-Mini-Display-1602-Mini-Controller-Compatible-with-Ramps-1/32765887917.html
- //
- //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
- //
- // ANET and Tronxy 20x4 Controller
- //
- #define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
- // This LCD is known to be susceptible to electrical interference
- // which scrambles the display. Pressing any button clears it up.
- // This is a LCD2004 display with 5 analog buttons.
- //
- // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
- //
- //#define ULTRA_LCD
- //=============================================================================
- //======================== LCD / Controller Selection =========================
- //===================== (I2C and Shift-Register LCDs) =====================
- //=============================================================================
- //
- // CONTROLLER TYPE: I2C
- //
- // Note: These controllers require the installation of Arduino's LiquidCrystal_I2C
- // library. For more info: https://github.com/kiyoshigawa/LiquidCrystal_I2C
- //
- //
- // Elefu RA Board Control Panel
- // http://www.elefu.com/index.php?route=product/product&product_id=53
- //
- //#define RA_CONTROL_PANEL
- //
- // Sainsmart (YwRobot) LCD Displays
- //
- // These require F.Malpartida's LiquidCrystal_I2C library
- // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
- //
- //#define LCD_SAINSMART_I2C_1602
- //#define LCD_SAINSMART_I2C_2004
- //
- // Generic LCM1602 LCD adapter
- //
- //#define LCM1602
- //
- // PANELOLU2 LCD with status LEDs,
- // separate encoder and click inputs.
- //
- // Note: This controller requires Arduino's LiquidTWI2 library v1.2.3 or later.
- // For more info: https://github.com/lincomatic/LiquidTWI2
- //
- // 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_PANELOLU2
- //
- // Panucatt VIKI LCD with status LEDs,
- // integrated click & L/R/U/D buttons, separate encoder inputs.
- //
- //#define LCD_I2C_VIKI
- //
- // CONTROLLER TYPE: Shift register panels
- //
- //
- // 2 wire Non-latching LCD SR from https://goo.gl/aJJ4sH
- // LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
- //
- //#define SAV_3DLCD
- //=============================================================================
- //======================= LCD / Controller Selection =======================
- //========================= (Graphical LCDs) ========================
- //=============================================================================
- //
- // CONTROLLER TYPE: Graphical 128x64 (DOGM)
- //
- // IMPORTANT: The U8glib library is required for Graphical Display!
- // https://github.com/olikraus/U8glib_Arduino
- //
- //
- // RepRapDiscount FULL GRAPHIC Smart Controller
- // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
- //
- // Note: Details on connecting to the Anet V1.0 controller are in the file pins_ANET_10.h
- //
- #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- //
- // ReprapWorld Graphical LCD
- // https://reprapworld.com/?products_details&products_id/1218
- //
- //#define REPRAPWORLD_GRAPHICAL_LCD
- //
- // Activate one of these if you have a Panucatt Devices
- // Viki 2.0 or mini Viki with Graphic LCD
- // http://panucatt.com
- //
- //#define VIKI2
- //#define miniVIKI
- //
- // MakerLab Mini Panel with graphic
- // controller and SD support - http://reprap.org/wiki/Mini_panel
- //
- //#define MINIPANEL
- //
- // MaKr3d Makr-Panel with graphic controller and SD support.
- // http://reprap.org/wiki/MaKr3d_MaKrPanel
- //
- //#define MAKRPANEL
- //
- // Adafruit ST7565 Full Graphic Controller.
- // https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
- //
- //#define ELB_FULL_GRAPHIC_CONTROLLER
- //
- // BQ LCD Smart Controller shipped by
- // default with the BQ Hephestos 2 and Witbox 2.
- //
- //#define BQ_LCD_SMART_CONTROLLER
- //
- // Cartesio UI
- // http://mauk.cc/webshop/cartesio-shop/electronics/user-interface
- //
- //#define CARTESIO_UI
- //
- // LCD for Melzi Card with Graphical LCD
- //
- //#define LCD_FOR_MELZI
- //
- // SSD1306 OLED full graphics generic display
- //
- //#define U8GLIB_SSD1306
- //
- // SAV OLEd LCD module support using either SSD1306 or SH1106 based LCD modules
- //
- //#define SAV_3DGLCD
- #if ENABLED(SAV_3DGLCD)
- //#define U8GLIB_SSD1306
- #define U8GLIB_SH1106
- #endif
- //
- // Original Ulticontroller from Ultimaker 2 printer with SSD1309 I2C display and encoder
- // https://github.com/Ultimaker/Ultimaker2/tree/master/1249_Ulticontroller_Board_(x1)
- //
- //#define ULTI_CONTROLLER
- //
- // TinyBoy2 128x64 OLED / Encoder Panel
- //
- //#define OLED_PANEL_TINYBOY2
- //
- // MKS MINI12864 with graphic controller and SD support
- // http://reprap.org/wiki/MKS_MINI_12864
- //
- //#define MKS_MINI_12864
- //
- // Factory display for Creality CR-10
- // https://www.aliexpress.com/item/Universal-LCD-12864-3D-Printer-Display-Screen-With-Encoder-For-CR-10-CR-7-Model/32833148327.html
- //
- // This is RAMPS-compatible using a single 10-pin connector.
- // (For CR-10 owners who want to replace the Melzi Creality board but retain the display)
- //
- //#define CR10_STOCKDISPLAY
- //
- // ANET and Tronxy Graphical Controller
- //
- //#define ANET_FULL_GRAPHICS_LCD // Anet 128x64 full graphics lcd with rotary encoder as used on Anet A6
- // A clone of the RepRapDiscount full graphics display but with
- // different pins/wiring (see pins_ANET_10.h).
- //
- // MKS OLED 1.3" 128 Γ 64 FULL GRAPHICS CONTROLLER
- // http://reprap.org/wiki/MKS_12864OLED
- //
- // Tiny, but very sharp OLED display
- //
- //#define MKS_12864OLED // Uses the SH1106 controller (default)
- //#define MKS_12864OLED_SSD1306 // Uses the SSD1306 controller
- //
- // Silvergate GLCD controller
- // http://github.com/android444/Silvergate
- //
- //#define SILVER_GATE_GLCD_CONTROLLER
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement