Enable 12864 display
This commit is contained in:
		| @@ -1,3 +1,5 @@ | ||||
| #include <U8glib.h> | ||||
|  | ||||
| /** | ||||
|  * Marlin 3D Printer Firmware | ||||
|  * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | ||||
| @@ -1108,7 +1110,7 @@ | ||||
|  * Add a bed leveling sub-menu for ABL or MBL. | ||||
|  * Include a guided procedure if manual probing is enabled. | ||||
|  */ | ||||
| //#define LCD_BED_LEVELING | ||||
| #define LCD_BED_LEVELING | ||||
|  | ||||
| #if ENABLED(LCD_BED_LEVELING) | ||||
|   #define MBL_Z_STEP 0.025    // Step size while manually probing Z axis. | ||||
| @@ -1403,7 +1405,7 @@ | ||||
|  * | ||||
|  * :{ '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 en | ||||
| #define LCD_LANGUAGE en | ||||
|  | ||||
| /** | ||||
|  * LCD Character Set | ||||
| @@ -1470,13 +1472,13 @@ | ||||
| // 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 | ||||
| #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 | ||||
| #define ENCODER_STEPS_PER_MENU_ITEM 1 | ||||
|  | ||||
| /** | ||||
|  * Encoder Direction Options | ||||
| @@ -1666,7 +1668,7 @@ | ||||
| // RepRapDiscount FULL GRAPHIC Smart Controller | ||||
| // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller | ||||
| // | ||||
| //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER | ||||
| #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER | ||||
|  | ||||
| // | ||||
| // ReprapWorld Graphical LCD | ||||
|   | ||||
| @@ -524,13 +524,13 @@ | ||||
| // @section lcd | ||||
|  | ||||
| // Include a page of printer information in the LCD Main Menu | ||||
| //#define LCD_INFO_MENU | ||||
| #define LCD_INFO_MENU | ||||
|  | ||||
| // Scroll a longer status message into view | ||||
| //#define STATUS_MESSAGE_SCROLLING | ||||
|  | ||||
| // On the Info Screen, display XY with one decimal place when possible | ||||
| //#define LCD_DECIMAL_SMALL_XY | ||||
| #define LCD_DECIMAL_SMALL_XY | ||||
|  | ||||
| // The timeout (in ms) to return to the status screen from sub-menus | ||||
| //#define LCD_TIMEOUT_TO_STATUS 15000 | ||||
|   | ||||
| @@ -34,26 +34,26 @@ | ||||
| #define DISPLAY_CHARSET_ISO10646_GREEK | ||||
| #define CHARSIZE 2 | ||||
|  | ||||
| #define WELCOME_MSG                         MACHINE_NAME _UxGT(" έτοιμο.") | ||||
| #define MSG_SD_INSERTED                     _UxGT("Εισαγωγή κάρτας") | ||||
| #define MSG_SD_REMOVED                      _UxGT("Αφαίρεση κάρτας") | ||||
| #define WELCOME_MSG                         MACHINE_NAME _UxGT(" πανέτοιμος.") | ||||
| #define MSG_SD_INSERTED                     _UxGT("Έχω καρτούλα") | ||||
| #define MSG_SD_REMOVED                      _UxGT("Ωχ! Δεν εχω καρτα") | ||||
| #define MSG_LCD_ENDSTOPS                    _UxGT("Endstops") // Max length 8 characters | ||||
| #define MSG_MAIN                            _UxGT("Βασική Οθόνη") | ||||
| #define MSG_AUTOSTART                       _UxGT("Αυτόματη εκκίνηση") | ||||
| #define MSG_DISABLE_STEPPERS                _UxGT("Απενεργοποίηση βηματιστή") | ||||
| #define MSG_AUTO_HOME                       _UxGT("Αυτομ. επαναφορά στο αρχικό σημείο") | ||||
| #define MSG_AUTO_HOME_X                     _UxGT("Αρχικό σημείο X") | ||||
| #define MSG_AUTO_HOME_Y                     _UxGT("Αρχικό σημείο Y") | ||||
| #define MSG_AUTO_HOME_Z                     _UxGT("Αρχικό σημείο Z") | ||||
| #define MSG_DISABLE_STEPPERS                _UxGT("Ελευθέρωσέ με") | ||||
| #define MSG_AUTO_HOME                       _UxGT("Πάω σπίτι") | ||||
| #define MSG_AUTO_HOME_X                     _UxGT("Αρχικό X") | ||||
| #define MSG_AUTO_HOME_Y                     _UxGT("Αρχικό Y") | ||||
| #define MSG_AUTO_HOME_Z                     _UxGT("Αρχικό Z") | ||||
| #define MSG_TMC_Z_CALIBRATION               _UxGT("Βαθμονόμηση Z") | ||||
| #define MSG_LEVEL_BED_HOMING                _UxGT("Επαναφορά στο αρχικό σημείο ΧΥΖ") | ||||
| #define MSG_LEVEL_BED_WAITING               _UxGT("Κάντε κλικ για να ξεκινήσετε") | ||||
| #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Επόμενο σημείο") | ||||
| #define MSG_LEVEL_BED_DONE                  _UxGT("Ολοκλήρωση επιπεδοποίησης!") | ||||
| #define MSG_LEVEL_BED_WAITING               _UxGT("Πάτα το κουμπί και ΦΥΓΑΜΕ!!!") | ||||
| #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Πιο πέρα") | ||||
| #define MSG_LEVEL_BED_DONE                  _UxGT("Τελείωσα, αδερφέ") | ||||
| #define MSG_SET_HOME_OFFSETS                _UxGT("Ορισμός βασικών μετατοπίσεων") | ||||
| #define MSG_HOME_OFFSETS_APPLIED            _UxGT("Εφαρμόστηκαν οι μετατοπίσεις") | ||||
| #define MSG_SET_ORIGIN                      _UxGT("Ορισμός προέλευσης") | ||||
| #define MSG_PREHEAT_1                       _UxGT("Προθέρμανση PLA") | ||||
| #define MSG_PREHEAT_1                       _UxGT("Ζεσταίνω PLA") | ||||
| #define MSG_PREHEAT_1_N                     MSG_PREHEAT_1 _UxGT(" ") | ||||
| #define MSG_PREHEAT_1_ALL                   MSG_PREHEAT_1 _UxGT(" όλα") | ||||
| #define MSG_PREHEAT_1_BEDONLY               MSG_PREHEAT_1 _UxGT(" κλίνη") | ||||
| @@ -69,8 +69,8 @@ | ||||
| #define MSG_EXTRUDE                         _UxGT("Εξώθηση") | ||||
| #define MSG_RETRACT                         _UxGT("Ανάσυρση") | ||||
| #define MSG_MOVE_AXIS                       _UxGT("Μετακίνηση άξονα") | ||||
| #define MSG_BED_LEVELING                    _UxGT("Επιπεδοποίηση κλίνης") | ||||
| #define MSG_LEVEL_BED                       _UxGT("Επιπεδοποίηση κλίνης") | ||||
| #define MSG_BED_LEVELING                    _UxGT("Σου ισιώνω κρεβάτι") | ||||
| #define MSG_LEVEL_BED                       _UxGT("Εδω το καλό κρεβάτι") | ||||
| #define MSG_MOVE_X                          _UxGT("Μετακίνηση X") | ||||
| #define MSG_MOVE_Y                          _UxGT("Μετακίνηση Y") | ||||
| #define MSG_MOVE_Z                          _UxGT("Μετακίνηση Z") | ||||
| @@ -79,9 +79,9 @@ | ||||
| #define MSG_MOVE_1MM                        _UxGT("Μετακίνηση 1μμ") | ||||
| #define MSG_MOVE_10MM                       _UxGT("Μετακίνηση 10μμ") | ||||
| #define MSG_SPEED                           _UxGT("Ταχύτητα") | ||||
| #define MSG_BED_Z                           _UxGT("Κλίνη Z") | ||||
| #define MSG_NOZZLE                          _UxGT("Ακροφύσιο") | ||||
| #define MSG_BED                             _UxGT("Κλίνη") | ||||
| #define MSG_BED_Z                           _UxGT("Κρεβάτι Z") | ||||
| #define MSG_NOZZLE                          _UxGT("Μύτη") | ||||
| #define MSG_BED                             _UxGT("Κρεβάτι") | ||||
| #define MSG_FAN_SPEED                       _UxGT("Ταχύτητα ανεμιστήρα") | ||||
| #define MSG_FLOW                            _UxGT("Ροή") | ||||
| #define MSG_CONTROL                         _UxGT("Έλεγχος") | ||||
| @@ -132,9 +132,9 @@ | ||||
| #define MSG_E5STEPS                         _UxGT("Bήματα Ε5 ανά μμ") | ||||
| #define MSG_TEMPERATURE                     _UxGT("Θερμοκρασία") | ||||
| #define MSG_MOTION                          _UxGT("Κίνηση") | ||||
| #define MSG_FILAMENT                        _UxGT("Νήμα") | ||||
| #define MSG_FILAMENT                        _UxGT("Φιλαμεντ") | ||||
| #define MSG_VOLUMETRIC_ENABLED              _UxGT("Ε σε μμ3") | ||||
| #define MSG_FILAMENT_DIAM                   _UxGT("Διάμετρος νήματος") | ||||
| #define MSG_FILAMENT_DIAM                   _UxGT("Διάμετρος φιλαμεντ") | ||||
| #define MSG_CONTRAST                        _UxGT("Κοντράστ LCD") | ||||
| #define MSG_STORE_EEPROM                    _UxGT("Αποθήκευση") | ||||
| #define MSG_LOAD_EEPROM                     _UxGT("Φόρτωση") | ||||
| @@ -142,15 +142,15 @@ | ||||
| #define MSG_REFRESH                         _UxGT("Ανανέωση") | ||||
| #define MSG_WATCH                           _UxGT("Οθόνη πληροφόρησης") | ||||
| #define MSG_PREPARE                         _UxGT("Προετοιμασία") | ||||
| #define MSG_TUNE                            _UxGT("Συντονισμός") | ||||
| #define MSG_PAUSE_PRINT                     _UxGT("Παύση εκτύπωσης") | ||||
| #define MSG_RESUME_PRINT                    _UxGT("Συνέχιση εκτύπωσης") | ||||
| #define MSG_STOP_PRINT                      _UxGT("Διακοπή εκτύπωσης") | ||||
| #define MSG_CARD_MENU                       _UxGT("Εκτύπωση από SD") | ||||
| #define MSG_NO_CARD                         _UxGT("Δεν βρέθηκε SD") | ||||
| #define MSG_TUNE                            _UxGT("Ρύθμιση OTF") | ||||
| #define MSG_PAUSE_PRINT                     _UxGT("Διάλειμα") | ||||
| #define MSG_RESUME_PRINT                    _UxGT("Συνεχίζω") | ||||
| #define MSG_STOP_PRINT                      _UxGT("ΑΝΤΕ ΓΕΙΑ!!!") | ||||
| #define MSG_CARD_MENU                       _UxGT("φτιάχνω από κάρτα") | ||||
| #define MSG_NO_CARD                         _UxGT("Αδερφέ, δεν έχω κάρτα") | ||||
| #define MSG_DWELL                           _UxGT("Αναστολή λειτουργίας…") | ||||
| #define MSG_USERWAIT                        _UxGT("Αναμονή για χρήστη…") | ||||
| #define MSG_PRINT_ABORTED                   _UxGT("Διακόπτεται η εκτύπωση") | ||||
| #define MSG_PRINT_ABORTED                   _UxGT("Ως εδώ με έχεις φέρει!!") | ||||
| #define MSG_NO_MOVE                         _UxGT("Καμία κίνηση.") | ||||
| #define MSG_KILLED                          _UxGT("ΤΕΡΜΑΤΙΣΜΟΣ. ") | ||||
| #define MSG_STOPPED                         _UxGT("ΔΙΑΚΟΠΗ. ") | ||||
| @@ -174,14 +174,14 @@ | ||||
| #define MSG_BABYSTEP_Z                      _UxGT("Μικρό βήμα Ζ") | ||||
| #define MSG_ENDSTOP_ABORT                   _UxGT("Ματαίωση endstop ") | ||||
| #define MSG_HEATING_FAILED_LCD              _UxGT("Ανεπιτυχής θέρμανση") | ||||
| #define MSG_ERR_REDUNDANT_TEMP              _UxGT("Λάθος: ΠΛΕΟΝΑΖΟΥΣΑ ΘΕΡΜΟΤΗΤΑ") | ||||
| #define MSG_ERR_REDUNDANT_TEMP              _UxGT("Λάθος: ΘΑ ΜΕ ΚΑΨΕΙΣ ΗΛΗΘΙΕ") | ||||
| #define MSG_THERMAL_RUNAWAY                 _UxGT("ΔΙΑΦΥΓΗ ΘΕΡΜΟΤΗΤΑΣ") | ||||
| #define MSG_ERR_MAXTEMP                     _UxGT("Λάθος: ΜΕΓΙΣΤΗ ΘΕΡΜΟΤΗΤΑ") | ||||
| #define MSG_ERR_MINTEMP                     _UxGT("Λάθος: ΕΛΑΧΙΣΤΗ ΘΕΡΜΟΤΗΤΑ") | ||||
| #define MSG_ERR_MAXTEMP_BED                 _UxGT("Λάθος: ΜΕΓΙΣΤΗ ΘΕΡΜΟΤΗΤΑ ΚΛΙΝΗΣ") | ||||
| #define MSG_ERR_MINTEMP_BED                 _UxGT("Λάθος: ΕΛΑΧΙΣΤΗ ΘΕΡΜΟΤΗΤΑ ΚΛΙΝΗΣ") | ||||
| #define MSG_HEATING                         _UxGT("Θερμαίνεται…") | ||||
| #define MSG_BED_HEATING                     _UxGT("Θέρμανση κλίνης…") | ||||
| #define MSG_ERR_MAXTEMP_BED                 _UxGT("Λάθος: ΜΕΓΙΣΤΗ ΘΕΡΜΟΤΗΤΑ ΚΡΕΒΑΤΙΟΥ") | ||||
| #define MSG_ERR_MINTEMP_BED                 _UxGT("Λάθος: ΕΛΑΧΙΣΤΗ ΘΕΡΜΟΤΗΤΑ ΚΡΕΒΑΤΙΟΥ") | ||||
| #define MSG_HEATING                         _UxGT("Ανάβω…") | ||||
| #define MSG_BED_HEATING                     _UxGT("Ανάβω το κρεβάτι…") | ||||
| #define MSG_DELTA_CALIBRATE                 _UxGT("Βαθμονόμηση Delta") | ||||
| #define MSG_DELTA_CALIBRATE_X               _UxGT("Βαθμονόμηση X") | ||||
| #define MSG_DELTA_CALIBRATE_Y               _UxGT("Βαθμονόμηση Y") | ||||
|   | ||||
| @@ -135,8 +135,8 @@ | ||||
| 		#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER | ||||
| 			#define BEEPER_PIN 37 | ||||
|  | ||||
| 			#define BTN_EN1 31 | ||||
| 			#define BTN_EN2 33 | ||||
| 			#define BTN_EN1 33 | ||||
| 			#define BTN_EN2 31 | ||||
| 			#define BTN_ENC 35 | ||||
|  | ||||
| 			#define SD_DETECT_PIN 49 | ||||
|   | ||||
							
								
								
									
										17
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								README.md
									
									
									
									
									
								
							| @@ -4,21 +4,10 @@ | ||||
|  | ||||
| This is my slightly customized version of the [Marlin Firmware](https://github.com/MarlinFirmware/Marlin), gratefully based on [derhopp's repo](https://github.com/derhopp/Marlin-with-Anycubic-i3-Mega-TFT) with his remarkable efforts to get the Anycubic i3 Mega TFT screen to work. | ||||
|  | ||||
| Feel free to discuss issues and work with me further optimizing this firmware! | ||||
| ## RepRapDiscount Full Graphic Smart Controller branch | ||||
| **This branch is prepared to be used with a 12864 display like the [RepRapDiscount Full Graphic Smart Controller](https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller).** | ||||
|  | ||||
| I am running this version on an i3 Mega Ultrabase V3 (for distinction of the different versions, check [this Thingiverse thread](https://www.thingiverse.com/groups/anycubic-i3-mega/forums/general/topic:27064)). | ||||
| Basically, this should work on every Ultrabase version that has two Z-axis endstops. | ||||
|  | ||||
| The new **Mega-S** should work too, but you will need to enter those two commands to make the new extruder work: | ||||
| ``` | ||||
| M92 E384 | ||||
| M500 | ||||
| ``` | ||||
| Afterwards, calibration is highly recommended as per the instructions on the [Wiki](https://github.com/davidramiro/Marlin-AI3M/wiki/Calibration/). | ||||
|  | ||||
| Looking for a **BLtouch firmware**? Head [this way](https://github.com/MNieddu91/Marlin-AI3M-BLTouch)! Mounting and configuration instructions are included. | ||||
|  | ||||
| Note: This is just a firmware, not magic. A big part of print quality still depends on your slicer settings and mechanical condition of your machine. | ||||
| --- | ||||
|  | ||||
| #### Make sure to take a look at the [Wiki](https://github.com/davidramiro/Marlin-AI3M/wiki/), especially the [FAQ](https://github.com/davidramiro/Marlin-AI3M/wiki/Frequently-Asked-Questions). | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user