Browse Source

reverted to upstream

Jérémie FRANCOIS 9 years ago
parent
commit
22a7985445
1 changed files with 56 additions and 0 deletions
  1. 56
    0
      Marlin/Marlin.pde

+ 56
- 0
Marlin/Marlin.pde View File

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

Loading…
Cancel
Save