My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Marlin.ino 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. /**
  23. * About Marlin
  24. *
  25. * This firmware is a mashup between Sprinter and grbl.
  26. * - https://github.com/kliment/Sprinter
  27. * - https://github.com/simen/grbl/tree
  28. *
  29. * It has preliminary support for Matthew Roberts advance algorithm
  30. * - http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
  31. */
  32. /* All the implementation is done in *.cpp files to get better compatibility with avr-gcc without the Arduino IDE */
  33. /* Use this file to help the Arduino IDE find which Arduino libraries are needed and to keep documentation on GCode */
  34. #include "Configuration.h"
  35. #include "pins.h"
  36. #if ENABLED(ULTRA_LCD)
  37. #if ENABLED(LCD_I2C_TYPE_PCF8575)
  38. #include <Wire.h>
  39. #include <LiquidCrystal_I2C.h>
  40. #elif ENABLED(LCD_I2C_TYPE_MCP23017) || ENABLED(LCD_I2C_TYPE_MCP23008)
  41. #include <Wire.h>
  42. #include <LiquidTWI2.h>
  43. #elif ENABLED(LCM1602)
  44. #include <Wire.h>
  45. #include <LCD.h>
  46. #include <LiquidCrystal_I2C.h>
  47. #elif ENABLED(DOGLCD)
  48. #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://github.com/olikraus/U8glib_Arduino)
  49. #else
  50. #include <LiquidCrystal.h> // library for character LCD
  51. #endif
  52. #endif
  53. #if HAS_DIGIPOTSS
  54. #include <SPI.h>
  55. #endif
  56. #if ENABLED(DIGIPOT_I2C)
  57. #include <Wire.h>
  58. #endif
  59. #if ENABLED(HAVE_TMCDRIVER)
  60. #include <SPI.h>
  61. #include <TMC26XStepper.h>
  62. #endif
  63. #if ENABLED(HAVE_L6470DRIVER)
  64. #include <SPI.h>
  65. #include <L6470.h>
  66. #endif