Browse Source

Improved the LCD and SD comments blocks in Configuration.h

João Brázio 8 years ago
parent
commit
36a49eab1c
1 changed files with 215 additions and 76 deletions
  1. 215
    76
      Marlin/Configuration.h

+ 215
- 76
Marlin/Configuration.h View File

@@ -714,7 +714,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
714 714
 
715 715
 // @section extras
716 716
 
717
+//
717 718
 // EEPROM
719
+//
718 720
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
719 721
 // M500 - stores parameters in EEPROM
720 722
 // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
@@ -754,113 +756,250 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
754 756
 #define ABS_PREHEAT_HPB_TEMP 110
755 757
 #define ABS_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
756 758
 
757
-//==============================LCD and SD support=============================
759
+//=============================================================================
760
+//============================= LCD and SD support ============================
761
+//=============================================================================
758 762
 // @section lcd
759 763
 
760
-// Define your display language below. Replace (en) with your language code and uncomment.
761
-// en, pl, fr, de, es, ru, bg, it, pt, pt_utf8, pt-br, pt-br_utf8, fi, an, nl, ca, eu, kana, kana_utf8, cn, cz, test
762
-// See also language.h
764
+//
765
+// MARLIN LANGUAGE
766
+//
767
+// Here you may choose the language used by Marlin on the LCD menus, the following
768
+// list of languages are available:
769
+//    en, pl, fr, de, es, ru, bg, it, pt, pt_utf8, pt-br, pt-br_utf8,
770
+//    fi, an, nl, ca, eu, kana, kana_utf8, cn, cz, test
771
+//
763 772
 #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
764 773
 
765
-// Choose ONE of these 3 charsets. This has to match your hardware. Ignored for full graphic display.
766
-// To find out what type you have - compile with (test) - upload - click to get the menu. You'll see two typical lines from the upper half of the charset.
774
+//
775
+// LCD CHARSET
776
+//
777
+// Choose ONE of the following charset list, keep in mind that this selection is
778
+// dependent on your physical hardware thus it has to match the type of Character
779
+// based LCD you have.
780
+//
781
+// Note: This options is ignored for a full graphic display.
782
+//
783
+// To find out what type you have:
784
+//  - Compile and upload with language set to 'test'
785
+//  - Click to get the menu
786
+//
787
+// You'll see two typical lines from the upper half of the charset.
788
+//
767 789
 // See also https://github.com/MarlinFirmware/Marlin/wiki/LCD-Language
768
-  #define DISPLAY_CHARSET_HD44780_JAPAN        // this is the most common hardware
769
-  //#define DISPLAY_CHARSET_HD44780_WESTERN
770
-  //#define DISPLAY_CHARSET_HD44780_CYRILLIC
771
-
772
-//#define ULTRA_LCD  //general LCD support, also 16x2
773
-//#define DOGLCD  // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
774
-//#define SDSUPPORT // Enable SD Card Support in Hardware Console
775
-                    // Changed behaviour! If you need SDSUPPORT uncomment it!
776
-//#define SPI_SPEED SPI_HALF_SPEED // (also SPI_QUARTER_SPEED, SPI_EIGHTH_SPEED) Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
777
-//#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
778
-//#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
779
-//#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking
780
-//#define REVERSE_MENU_DIRECTION // When enabled CLOCKWISE moves UP in the LCD menu
781
-//#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
782
-//#define ULTIPANEL  //the UltiPanel as on Thingiverse
783
-//#define SPEAKER // The sound device is a speaker - not a buzzer. A buzzer resonates with a fixed frequency.
784
-//#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
785
-//#define LCD_FEEDBACK_FREQUENCY_HZ 1000         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
786
-                                                 // 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
787
-// PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
788
-// http://reprap.org/wiki/PanelOne
789
-//#define PANEL_ONE
790
+//
791
+#define DISPLAY_CHARSET_HD44780_JAPAN        // this is the most common hardware
792
+//#define DISPLAY_CHARSET_HD44780_WESTERN
793
+//#define DISPLAY_CHARSET_HD44780_CYRILLIC
790 794
 
791
-// The MaKr3d Makr-Panel with graphic controller and SD support
792
-// http://reprap.org/wiki/MaKr3d_MaKrPanel
793
-//#define MAKRPANEL
795
+//
796
+// LCD TYPE
797
+//
798
+// You may choose ULTRA_LCD if you have character based LCD with 16x2, 16x4, 20x2,
799
+// 20x4 char/lines or DOGLCD for the full graphics display with 128x64 pixels
800
+// (ST7565R family).
801
+//
802
+// IMPORTANT NOTE: You have to install Arduino's U8glib library for the Full
803
+// Graphics Display to work ! - https://github.com/olikraus/U8glib_Arduino
804
+//
805
+//#define ULTRA_LCD   // Character based
806
+//#define DOGLCD      // Full graphics display
807
+
808
+//
809
+// SD CARD
810
+//
811
+// SD card support is now disabled by default, if you have [and want] SD support
812
+// then you must uncomment the following directive.
813
+//
814
+//#define SDSUPPORT
815
+
816
+//
817
+// SD CARD: SPI SPEED
818
+//
819
+// You may uncomment *one* of the following directives to use slower SPI transfer
820
+// speeds, this is usually required if you're getting volume init errors.
821
+//
822
+//#define SPI_SPEED SPI_HALF_SPEED
823
+//#define SPI_SPEED SPI_QUARTER_SPEED
824
+//#define SPI_SPEED SPI_EIGHTH_SPEED
825
+
826
+//
827
+// SD CARD: ENABLE CRC
828
+//
829
+// Use CRC checks and retries on the SD communication.
830
+//
831
+//#define SD_CHECK_AND_RETRY
794 832
 
795
-// The Panucatt Devices Viki 2.0 and mini Viki with Graphic LCD
796
-// http://panucatt.com
797
-// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: https://github.com/olikraus/U8glib_Arduino
833
+//
834
+// ENCODER SETTINGS
835
+//
836
+// This option defines how many pulses a encoder should produce for a menu
837
+// step to be produced, you should increase this value for highres encoders.
838
+//
839
+//#define ENCODER_PULSES_PER_STEP 1
840
+//
841
+//
842
+// This option defines how many steps are required for Marlin to move between
843
+// next/prev menu items.
844
+//
845
+//#define ENCODER_STEPS_PER_MENU_ITEM 5
846
+//
847
+//
848
+// This option allows you to reverse the direction you have to turn the encoder
849
+// to navigate up/down on the menus, by default CLOCKWISE rotation moves DOWN in
850
+// the LCD menu, when active CLOCKWISE rotation will move UP in the LCD menu.
851
+//
852
+//#define REVERSE_MENU_DIRECTION
853
+//
854
+//
855
+// If you have a speaker activate this directive to enable it.
856
+// By default Marlin assumes your setup is buzzer based and no action is required.
857
+//
858
+//#define SPEAKER
859
+//
860
+// The duration and frequency the buzzer plays the UI feedback sound.
861
+// You may define these directives with 0 (zero) if you want to disable all sound
862
+// feedback from Marlin.
863
+//
864
+// Note: You may test the buzzing sound with the G-Code:
865
+//  M300 S<frequency Hz> P<duration ms>
866
+//
867
+//#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100
868
+//#define LCD_FEEDBACK_FREQUENCY_HZ 1000
869
+
870
+//
871
+// CONTROLLER TYPE: Standard
872
+//
873
+// Marlin supports a impressive variety of controllers, uncomment the directive
874
+// which defines physical controller you're using.
875
+//
876
+//
877
+// Activate this directive if you have an ULTIMAKER Controller.
878
+//
879
+//#define ULTIMAKERCONTROLLER
880
+//
881
+//
882
+// Activate this directive if you have a ULTIPANEL as seen on Thingiverse.
883
+//
884
+//#define ULTIPANEL
885
+//
886
+//
887
+// Activate this directive if you have a PanelOne from T3P3
888
+// (via RAMPS 1.4 AUX2/AUX3) - http://reprap.org/wiki/PanelOne
889
+//
890
+//#define PANEL_ONE
891
+//
892
+//
893
+// Activate this directive if you have a MaKr3d Makr-Panel with graphic
894
+// controller and SD suppord - http://reprap.org/wiki/MaKr3d_MaKrPanel
895
+//
896
+//#define MAKRPANEL
897
+//
898
+//
899
+// Activate one of these directives if you have a Panucatt Devices Viki 2.0 or
900
+// mini Viki with Graphic LCD - http://panucatt.com
901
+//
798 902
 //#define VIKI2
799 903
 //#define miniVIKI
800 904
 
801 905
 // This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
802 906
 //
803
-// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: https://github.com/olikraus/U8glib_Arduino
907
+//
908
+// Activate this directive if you have an Adafruit ST7565 Full Graphic Controller.
909
+// https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
910
+//
804 911
 //#define ELB_FULL_GRAPHIC_CONTROLLER
805
-//#define SD_DETECT_INVERTED
806
-
807
-// The RepRapDiscount Smart Controller (white PCB)
912
+//
913
+//
914
+// Activate this directive if you have a RepRapDiscount Smart Controller.
808 915
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
916
+//
917
+// Note: Usually sold in a white PCB.
918
+//
809 919
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER
810
-
811
-// The GADGETS3D G3D LCD/SD Controller (blue PCB)
920
+//
921
+//
922
+// Activate this directive if you have a BQ LCD Smart Controller shipped by
923
+// default with the BQ Hephestos 2 and Witbox 2.
924
+//
925
+//#define BQ_LCD_SMART_CONTROLLER
926
+//
927
+//
928
+// Activate this directive if you have a GADGETS3D G3D LCD/SD Controller
812 929
 // http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
930
+//
931
+// Note: Usually sold in a blue PCB.
932
+//
813 933
 //#define G3D_PANEL
814
-
815
-// The RepRapDiscount FULL GRAPHIC Smart Controller (quadratic white PCB)
934
+//
935
+//
936
+// Activate this directive if you have a RepRapDiscount FULL GRAPHIC Smart Controller
816 937
 // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
817 938
 //
818
-// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: https://github.com/olikraus/U8glib_Arduino
819
-//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
820
-
821
-// The RepRapWorld REPRAPWORLD_KEYPAD v1.1
939
+// #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
940
+//
941
+//
942
+// Activate this directive if you have a MakerLab Mini Panel with graphic
943
+// controller and SD support - http://reprap.org/wiki/Mini_panel
944
+//#define MINIPANEL
945
+//
946
+//
947
+// Activate this directive if you have a RepRapWorld REPRAPWORLD_KEYPAD v1.1
822 948
 // http://reprapworld.com/?products_details&products_id=202&cPath=1591_1626
949
+//
950
+// REPRAPWORLD_KEYPAD_MOVE_STEP sets how much should the robot move when a key
951
+// is pressed, a value of 10.0 means 10mm per click.
952
+//
823 953
 //#define REPRAPWORLD_KEYPAD
824
-//#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 // how much should be moved when a key is pressed, eg 10.0 means 10mm per click
954
+//#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0
825 955
 
826
-// The Elefu RA Board Control Panel
956
+//
957
+// CONTROLLER TYPE: I2C
958
+//
959
+// Note: These controllers require the installation of Arduino's LiquidCrystal_I2C
960
+// library. For more info: https://github.com/kiyoshigawa/LiquidCrystal_I2C
961
+//
962
+//
963
+// Activate this directive if you have an Elefu RA Board Control Panel
827 964
 // http://www.elefu.com/index.php?route=product/product&product_id=53
828
-// REMEMBER TO INSTALL LiquidCrystal_I2C.h in your ARDUINO library folder: https://github.com/kiyoshigawa/LiquidCrystal_I2C
965
+//
829 966
 //#define RA_CONTROL_PANEL
830
-
831
-// The MakerLab Mini Panel with graphic controller and SD support
832
-// http://reprap.org/wiki/Mini_panel
833
-//#define MINIPANEL
834
-
835
-/**
836
- * I2C Panels
837
- */
838
-
839 967
 //#define LCD_I2C_SAINSMART_YWROBOT
840
-
841
-//#define LCM1602 // LCM1602 Adapter for 16x2 LCD
842
-
843
-// PANELOLU2 LCD with status LEDs, separate encoder and click inputs
844 968
 //
845
-// This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 )
846
-// Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
847
-// (v1.2.3 no longer requires you to define PANELOLU in the LiquidTWI2.h library header file)
848
-// Note: The PANELOLU2 encoder click input can either be directly connected to a pin
849
-//       (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1).
969
+//
970
+// Activate this directive if you have a LCM160 LCD adapter.
971
+//
972
+//#define LCM1602
973
+//
974
+//
975
+// Activate this directive if you have a PANELOLU2 LCD with status LEDs,
976
+// separate encoder and click inputs.
977
+//
978
+// Note: This controller requires Arduino's LiquidTWI2 library v1.2.3 or later.
979
+// For more info: https://github.com/lincomatic/LiquidTWI2
980
+//
981
+// Note: The PANELOLU2 encoder click input can either be directly connected to
982
+// a pin (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1).
983
+//
850 984
 //#define LCD_I2C_PANELOLU2
851
-
852
-// Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
985
+//
986
+//
987
+// Activate this directive if you have a Panucatt VIKI LCD with status LEDs,
988
+// integrated click & L/R/U/D buttons, separate encoder inputs.
989
+//
853 990
 //#define LCD_I2C_VIKI
854
-
855
-// SSD1306 OLED generic display support
856
-// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: https://github.com/olikraus/U8glib_Arduino
991
+//
992
+//
993
+// Activate this directive if you have a SSD1306 OLED full graphics generic display
994
+//
857 995
 //#define U8GLIB_SSD1306
858 996
 
859
-// Shift register panels
860
-// ---------------------
861
-// 2 wire Non-latching LCD SR from:
862
-// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
997
+//
998
+// CONTROLLER TYPE: Shift register panels
999
+//
1000
+// 2 wire Non-latching LCD SR from https://goo.gl/aJJ4sH
863 1001
 // LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
1002
+//
864 1003
 //#define SAV_3DLCD
865 1004
 
866 1005
 // @section extras

Loading…
Cancel
Save