My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Marlin.pde 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. #ifdef DOGLCD
  29. #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)
  30. #else
  31. #include <LiquidCrystal.h> // library for character LCD
  32. #endif
  33. #endif
  34. #if DIGIPOTSS_PIN > -1
  35. #include <SPI.h>
  36. #endif