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.pde 1.8KB

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