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