0.png (6.96 KB, 下載次數: 82)
下載附件
2018-1-7 17:23 上傳
單片機源程序如下:
- /* -*- c++ -*- */
- /*
- Reprap firmware based on Sprinter and grbl.
- Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
- 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.
- 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.
- 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)
- It has preliminary support for Matthew Roberts advance algorithm
- http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
- */
- /* 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 */
- #include "Configuration.h"
- #include "pins.h"
- #ifdef ULTRA_LCD
- #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
- #endif
- #if defined(DIGIPOTSS_PIN) && DIGIPOTSS_PIN > -1
- #include <SPI.h>
- #endif
- #if defined(DIGIPOT_I2C)
- #include <Wire.h>
- #endif
復制代碼
所有資料51hei提供下載:
Corexy自動調平固件 (自動調平).zip
(2.82 MB, 下載次數: 75)
2018-1-7 10:40 上傳
點擊文件名下載附件
下載積分: 黑幣 -5
|