SHOW:
|
|
- or go back to the newest paste.
| 1 | // Просто отрывок(22-151) примера для моего принтера с гитхаба, который я чуть-чуть изменил для понимания, что сейчас прошито. | |
| 2 | // Отрывок верхней части, т.к. я считаю, что то что ниже не особо важно для моей проблемы, ну если что: | |
| 3 | ||
| 4 | // https://github.com/MarlinFirmware/Configurations/blob/release-2.0.9.2/config/examples/delta/Anycubic/Kossel%20Linear%20Plus/Configuration.h | |
| 5 | ||
| 6 | // Сорян, за то что не убрал комментарии, я думаю, что так легче будет ориентироваться. | |
| 7 | ||
| 8 | //================================================================================================================= | |
| 9 | //================================================================================================================= | |
| 10 | ||
| 11 | // normal size or plus? | |
| 12 | #define ANYCUBIC_KOSSEL_PLUS | |
| 13 | ||
| 14 | // Anycubic Probe version 1 or 2 see README.md; 0 for no probe | |
| 15 | #define ANYCUBIC_PROBE_VERSION 2 | |
| 16 | ||
| 17 | // Heated Bed: | |
| 18 | // 0 ... no heated bed | |
| 19 | // 1 ... aluminium heated bed with "BuildTak-like" sticker | |
| 20 | // 2 ... ultrabase heated bed | |
| 21 | #define ANYCUBIC_KOSSEL_ENABLE_BED 1 | |
| 22 | ||
| 23 | /** | |
| 24 | * Configuration.h | |
| 25 | * | |
| 26 | * Basic settings such as: | |
| 27 | * | |
| 28 | * - Type of electronics | |
| 29 | * - Type of temperature sensor | |
| 30 | * - Printer geometry | |
| 31 | * - Endstop configuration | |
| 32 | * - LCD controller | |
| 33 | * - Extra features | |
| 34 | * | |
| 35 | * Advanced settings can be found in Configuration_adv.h | |
| 36 | */ | |
| 37 | #define CONFIGURATION_H_VERSION 02000902 | |
| 38 | ||
| 39 | //=========================================================================== | |
| 40 | //============================= Getting Started ============================= | |
| 41 | //=========================================================================== | |
| 42 | ||
| 43 | /** | |
| 44 | * Here are some standard links for getting your machine calibrated: | |
| 45 | * | |
| 46 | * http://www.lpomykal.cz/3d-printers/kossel/ | |
| 47 | * https://reprap.org/wiki/Calibration | |
| 48 | * https://youtu.be/wAL9d7FgInk | |
| 49 | * http://calculator.josefprusa.cz | |
| 50 | * https://reprap.org/wiki/Triffid_Hunter%27s_Calibration_Guide | |
| 51 | * https://www.thingiverse.com/thing:5573 | |
| 52 | * https://sites.google.com/site/repraplogphase/calibration-of-your-reprap | |
| 53 | * https://www.thingiverse.com/thing:298812 | |
| 54 | */ | |
| 55 | ||
| 56 | // @section info | |
| 57 | ||
| 58 | // Author info of this build printed to the host during boot and M115 | |
| 59 | #define STRING_CONFIG_H_AUTHOR "@brandstaetter, @grbd" // Who made the changes. | |
| 60 | //#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes) | |
| 61 | ||
| 62 | /** | |
| 63 | * *** VENDORS PLEASE READ *** | |
| 64 | * | |
| 65 | * Marlin allows you to add a custom boot image for Graphical LCDs. | |
| 66 | * With this option Marlin will first show your custom screen followed | |
| 67 | * by the standard Marlin logo with version number and web URL. | |
| 68 | * | |
| 69 | * We encourage you to take advantage of this new feature and we also | |
| 70 | * respectfully request that you retain the unmodified Marlin boot screen. | |
| 71 | */ | |
| 72 | ||
| 73 | // Show the Marlin bootscreen on startup. ** ENABLE FOR PRODUCTION ** | |
| 74 | #define SHOW_BOOTSCREEN | |
| 75 | ||
| 76 | // Show the bitmap in Marlin/_Bootscreen.h on startup. | |
| 77 | //#define SHOW_CUSTOM_BOOTSCREEN | |
| 78 | ||
| 79 | // Show the bitmap in Marlin/_Statusscreen.h on the status screen. | |
| 80 | //#define CUSTOM_STATUS_SCREEN_IMAGE | |
| 81 | ||
| 82 | // @section machine | |
| 83 | ||
| 84 | /** | |
| 85 | * Select the serial port on the board to use for communication with the host. | |
| 86 | * This allows the connection of wireless adapters (for instance) to non-default port pins. | |
| 87 | * Serial port -1 is the USB emulated serial port, if available. | |
| 88 | * Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader. | |
| 89 | * | |
| 90 | * :[-1, 0, 1, 2, 3, 4, 5, 6, 7] | |
| 91 | */ | |
| 92 | #define SERIAL_PORT 0 | |
| 93 | ||
| 94 | /** | |
| 95 | * Serial Port Baud Rate | |
| 96 | * This is the default communication speed for all serial ports. | |
| 97 | * Set the baud rate defaults for additional serial ports below. | |
| 98 | * | |
| 99 | * 250000 works in most cases, but you might try a lower speed if | |
| 100 | * you commonly experience drop-outs during host printing. | |
| 101 | * You may try up to 1000000 to speed up SD file transfer. | |
| 102 | * | |
| 103 | * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] | |
| 104 | */ | |
| 105 | #define BAUDRATE 115200 | |
| 106 | //#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate | |
| 107 | ||
| 108 | /** | |
| 109 | * Select a secondary serial port on the board to use for communication with the host. | |
| 110 | * Currently Ethernet (-2) is only supported on Teensy 4.1 boards. | |
| 111 | * :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7] | |
| 112 | */ | |
| 113 | //#define SERIAL_PORT_2 -1 | |
| 114 | //#define BAUDRATE_2 250000 // Enable to override BAUDRATE | |
| 115 | ||
| 116 | /** | |
| 117 | * Select a third serial port on the board to use for communication with the host. | |
| 118 | * Currently only supported for AVR, DUE, LPC1768/9 and STM32/STM32F1 | |
| 119 | * :[-1, 0, 1, 2, 3, 4, 5, 6, 7] | |
| 120 | */ | |
| 121 | //#define SERIAL_PORT_3 1 | |
| 122 | //#define BAUDRATE_3 250000 // Enable to override BAUDRATE | |
| 123 | ||
| 124 | // Enable the Bluetooth serial interface on AT90USB devices | |
| 125 | //#define BLUETOOTH | |
| 126 | ||
| 127 | // Choose the name from boards.h that matches your setup | |
| 128 | #ifndef MOTHERBOARD | |
| 129 | #define MOTHERBOARD BOARD_BTT_SKR_V1_3 | |
| 130 | #endif | |
| 131 | ||
| 132 | // Name displayed in the LCD "Ready" message and Info menu | |
| 133 | #define CUSTOM_MACHINE_NAME "Kossel Linear Plus" | |
| 134 |