Unify AVR90USB: Pins remap to Arduino
This commit is contained in:
parent
b378deaf89
commit
87d8223251
107
Marlin/pins_5DPRINT.h
Normal file → Executable file
107
Marlin/pins_5DPRINT.h
Normal file → Executable file
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
* Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
@ -20,6 +20,47 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Rev B 2 JUN 2017
|
||||
*
|
||||
* Converted to Arduino pin numbering
|
||||
*/
|
||||
|
||||
/**
|
||||
* There are two Arduino IDE extensions that are compatible with this board
|
||||
* and with the mainstream Marlin software.
|
||||
*
|
||||
* Teensyduino - http://www.pjrc.com/teensy/teensyduino.html
|
||||
* Select Teensy++ 2.0 in Arduino IDE from the 'Tools -> Boards' menu
|
||||
*
|
||||
* Installation instructions are at the above URL. Don't bother loading the
|
||||
* libraries - they are not used with the Marlin software.
|
||||
*
|
||||
* Printrboard - https://github.com/scwimbush/Printrboard-HID-Arduino-IDE-Support
|
||||
*
|
||||
* Installation:
|
||||
*
|
||||
* 1. Go to the above URL, click on the "Clone or Download" button and then
|
||||
* click on "Download ZIP" button.
|
||||
* 2. Unzip the file, find the "printrboard" directory and then copy it to the
|
||||
* hardware directory in Arduino. The Arduino hardware directory will probably
|
||||
* be located in a path similar to this: C:\Program Files (x86)\Arduino\hardware.
|
||||
* 3. Restart Arduino.
|
||||
* 4. Select "Printrboard" from the 'Tools -> Boards' menu.
|
||||
*
|
||||
* Teensyduino is the most popular option. Printrboard is used if your board doesn't have
|
||||
* the Teensyduino bootloader on it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* To burn the bootloader that comes with Printrboard:
|
||||
*
|
||||
* 1. Connect your programmer to the board.
|
||||
* 2. In the Arduino IDE select "Printrboard" and then select the programmer.
|
||||
* 3. In the Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
|
||||
* 4. The programmer is no longer needed. Remove it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 5DPrint D8 Driver board pin assignments
|
||||
*
|
||||
@ -27,7 +68,7 @@
|
||||
*/
|
||||
|
||||
#ifndef __AVR_AT90USB1286__
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' or 'Printrboard' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#define DEFAULT_MACHINE_NAME "Makibox"
|
||||
@ -39,56 +80,54 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 37
|
||||
#define Y_STOP_PIN 36
|
||||
#define Z_STOP_PIN 39
|
||||
#define X_STOP_PIN 37 // E5
|
||||
#define Y_STOP_PIN 36 // E4
|
||||
#define Z_STOP_PIN 19 // E7
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 0
|
||||
#define X_DIR_PIN 1
|
||||
#define X_ENABLE_PIN 23
|
||||
#define X_STEP_PIN 28 // A0
|
||||
#define X_DIR_PIN 29 // A1
|
||||
#define X_ENABLE_PIN 17 // C7
|
||||
|
||||
#define Y_STEP_PIN 2
|
||||
#define Y_DIR_PIN 3
|
||||
#define Y_ENABLE_PIN 19
|
||||
#define Y_STEP_PIN 30 // A2
|
||||
#define Y_DIR_PIN 31 // A3
|
||||
#define Y_ENABLE_PIN 13 // C3
|
||||
|
||||
#define Z_STEP_PIN 4
|
||||
#define Z_DIR_PIN 5
|
||||
#define Z_ENABLE_PIN 18
|
||||
#define Z_STEP_PIN 32 // A4
|
||||
#define Z_DIR_PIN 33 // A5
|
||||
#define Z_ENABLE_PIN 12 // C2
|
||||
|
||||
#define E0_STEP_PIN 6
|
||||
#define E0_DIR_PIN 7
|
||||
#define E0_ENABLE_PIN 17
|
||||
#define E0_STEP_PIN 34 // A6
|
||||
#define E0_DIR_PIN 35 // A7
|
||||
#define E0_ENABLE_PIN 11 // C1
|
||||
|
||||
// Microstepping pins - Mapping not from fastio.h (?)
|
||||
#define X_MS1_PIN 25
|
||||
#define X_MS2_PIN 26
|
||||
#define Y_MS1_PIN 9
|
||||
#define Y_MS2_PIN 8
|
||||
#define Z_MS1_PIN 7
|
||||
#define Z_MS2_PIN 6
|
||||
#define E0_MS1_PIN 5
|
||||
#define E0_MS2_PIN 4
|
||||
|
||||
#define X_MS1_PIN 25 // B5
|
||||
#define X_MS2_PIN 26 // B6
|
||||
#define Y_MS1_PIN 9 // E1
|
||||
#define Y_MS2_PIN 8 // E0
|
||||
#define Z_MS1_PIN 7 // D7
|
||||
#define Z_MS2_PIN 6 // D6
|
||||
#define E0_MS1_PIN 5 // D5
|
||||
#define E0_MS2_PIN 4 // D4
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 0 // Analog Input
|
||||
#define TEMP_0_PIN 1 // F1 Analog Input
|
||||
#define TEMP_BED_PIN 0 // F0 Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 21
|
||||
#define HEATER_BED_PIN 20
|
||||
#define HEATER_0_PIN 15 // C5
|
||||
#define HEATER_BED_PIN 14 // C4
|
||||
|
||||
// You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
|
||||
// for the fan and Teensyduino uses a different pin mapping.
|
||||
#define FAN_PIN 16
|
||||
#define FAN_PIN 16 // C6 PWM3A
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 20
|
||||
#define SDSS 20 // B0
|
||||
|
64
Marlin/pins_BRAINWAVE.h
Normal file → Executable file
64
Marlin/pins_BRAINWAVE.h
Normal file → Executable file
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
* Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
@ -34,6 +34,12 @@
|
||||
* allow this board to use the latest Marlin software
|
||||
*/
|
||||
|
||||
/**
|
||||
* Rev C 2 JUN 2017
|
||||
*
|
||||
* Converted to Arduino pin numbering
|
||||
*/
|
||||
|
||||
/**
|
||||
* Marlin_AT90USB - https://github.com/Bob-the-Kuhn/Marlin_AT90USB
|
||||
* This is the only known IDE extension that is compatible with the pin definitions
|
||||
@ -49,20 +55,20 @@
|
||||
* https://rawgit.com/Bob-the-Kuhn/Marlin_AT90USB/master/package_MARLIN_AT90USB_index.json
|
||||
* 2. Under Tools -> Board -> Boards manager, scroll to the bottom, click on MARLIN_AT90USB
|
||||
* and then click on "Install"
|
||||
* 3. Select "AT90USB646_STANDARD" from the 'Tools -> Boards' menu.
|
||||
* 3. Select "AT90USB646_TEENSYPP" from the 'Tools -> Boards' menu.
|
||||
*/
|
||||
|
||||
/**
|
||||
* To burn the bootloader that comes with Marlin_AT90USB:
|
||||
*
|
||||
* 1. Connect your programmer to the board.
|
||||
* 2. In Arduino IDE select "AT90USB646_STANDARD" and then select the programmer.
|
||||
* 2. In Arduino IDE select "AT90USB646_TEENSYPP" and then select the programmer.
|
||||
* 3. In Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
|
||||
* 4. The programmer is no longer needed. Remove it.
|
||||
*/
|
||||
|
||||
#ifndef __AVR_AT90USB646__
|
||||
#error "Oops! Make sure you have 'Brainwave' selected from the 'Tools -> Boards' menu."
|
||||
#error "Oops! Make sure you have 'AT90USB646_TEENSYPP' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Brainwave"
|
||||
@ -72,48 +78,48 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 7
|
||||
#define Y_STOP_PIN 6
|
||||
#define Z_STOP_PIN 5
|
||||
#define X_STOP_PIN 35 // A7
|
||||
#define Y_STOP_PIN 34 // A6
|
||||
#define Z_STOP_PIN 33 // A5
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 27
|
||||
#define X_DIR_PIN 29
|
||||
#define X_ENABLE_PIN 28
|
||||
#define X_ATT_PIN 26
|
||||
#define X_STEP_PIN 3 // D3
|
||||
#define X_DIR_PIN 5 // D5
|
||||
#define X_ENABLE_PIN 4 // D4
|
||||
#define X_ATT_PIN 2 // D2
|
||||
|
||||
#define Y_STEP_PIN 31
|
||||
#define Y_DIR_PIN 33
|
||||
#define Y_ENABLE_PIN 32
|
||||
#define Y_ATT_PIN 30
|
||||
#define Y_STEP_PIN 7 // D7
|
||||
#define Y_DIR_PIN 9 // E1
|
||||
#define Y_ENABLE_PIN 8 // E0
|
||||
#define Y_ATT_PIN 6 // D6
|
||||
|
||||
#define Z_STEP_PIN 17
|
||||
#define Z_DIR_PIN 19
|
||||
#define Z_ENABLE_PIN 18
|
||||
#define Z_ATT_PIN 16
|
||||
#define Z_STEP_PIN 11 // C1
|
||||
#define Z_DIR_PIN 13 // C3
|
||||
#define Z_ENABLE_PIN 12 // C2
|
||||
#define Z_ATT_PIN 10 // C0
|
||||
|
||||
#define E0_STEP_PIN 21
|
||||
#define E0_DIR_PIN 23
|
||||
#define E0_ENABLE_PIN 22
|
||||
#define E0_ATT_PIN 20
|
||||
#define E0_STEP_PIN 15 // C5
|
||||
#define E0_DIR_PIN 17 // C7
|
||||
#define E0_ENABLE_PIN 16 // C6
|
||||
#define E0_ATT_PIN 14 // C4
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 7 // Analog Input
|
||||
#define TEMP_BED_PIN 6 // Analog Input
|
||||
#define TEMP_0_PIN 7 // F7 Analog Input
|
||||
#define TEMP_BED_PIN 6 // F6 Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 4 // Extruder
|
||||
#define HEATER_BED_PIN 38 // Bed
|
||||
#define HEATER_0_PIN 32 // A4 Extruder
|
||||
#define HEATER_BED_PIN 18 // E6 Bed
|
||||
|
||||
#define FAN_PIN 3 // Fan
|
||||
#define FAN_PIN 31 // A3 Fan
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define LED_PIN 39
|
||||
#define LED_PIN 19 // E7
|
||||
|
91
Marlin/pins_BRAINWAVE_PRO.h
Normal file → Executable file
91
Marlin/pins_BRAINWAVE_PRO.h
Normal file → Executable file
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
* Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
@ -32,11 +32,16 @@
|
||||
*
|
||||
* Added pointers to currently available Arduino IDE extensions that will
|
||||
* allow this board to use the latest Marlin software
|
||||
*
|
||||
*
|
||||
* Rev C 2 JUN 2017
|
||||
*
|
||||
* Converted to Arduino pin numbering
|
||||
*/
|
||||
|
||||
/**
|
||||
* There are three Arduino IDE extensions that are compatible with this board
|
||||
* and with the mainstream Marlin software. All have been used with Arduino 1.6.12
|
||||
* There are two Arduino IDE extensions that are compatible with this board
|
||||
* and with the mainstream Marlin software.
|
||||
*
|
||||
* Teensyduino - http://www.pjrc.com/teensy/teensyduino.html
|
||||
* Select Teensy++ 2.0 in Arduino IDE from the 'Tools -> Boards' menu
|
||||
@ -45,8 +50,6 @@
|
||||
* libraries - they are not used with the Marlin software.
|
||||
*
|
||||
* Printrboard - https://github.com/scwimbush/Printrboard-HID-Arduino-IDE-Support
|
||||
* This is basically Teensyduino but with a bootloader that can handle image sizes
|
||||
* larger than 64K.
|
||||
*
|
||||
* Installation:
|
||||
*
|
||||
@ -58,39 +61,21 @@
|
||||
* 3. Restart Arduino.
|
||||
* 4. Select "Printrboard" from the 'Tools -> Boards' menu.
|
||||
*
|
||||
* Marlin_AT90USB - https://github.com/Bob-the-Kuhn/Marlin_AT90USB
|
||||
* Uses the bootloader from Printerboard above.
|
||||
*
|
||||
* "Marlin_AT90USB" makes PWM0A available rather than the usual PWM1C. These PWMs share
|
||||
* the same physical pin. Marlin uses TIMER1 to generate interrupts and sets it up such
|
||||
* that PWM1A, PWM1B & PWM1C can't be used.
|
||||
*
|
||||
* Installation:
|
||||
*
|
||||
* 1. In the Arduino IDE, under Files -> Preferences paste the following URL
|
||||
* https://rawgit.com/Bob-the-Kuhn/Marlin_AT90USB/master/package_MARLIN_AT90USB_index.json
|
||||
* 2. Under Tools -> Board -> Boards manager, scroll to the bottom, click on MARLIN_AT90USB
|
||||
* and then click on "Install"
|
||||
* 3. Select "AT90USB1286_TEENSYPP" from the 'Tools -> Boards' menu.
|
||||
* Teensyduino is the most popular option. Printrboard is used if your board doesn't have
|
||||
* the Teensyduino bootloader on it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* To burn the bootloader that comes with Printrboard and Marlin_AT90USB:
|
||||
* To burn the bootloader that comes with Printrboard:
|
||||
*
|
||||
* 1. Connect your programmer to the board.
|
||||
* 2. In the Arduino IDE select "Printrboard" or "AT90USB1286_TEENSYPP" and then select the programmer.
|
||||
* 2. In the Arduino IDE select "Printrboard" and then select the programmer.
|
||||
* 3. In the Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
|
||||
* 4. The programmer is no longer needed. Remove it.
|
||||
*/
|
||||
|
||||
#ifndef __AVR_AT90USB1286__
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0', 'AT90USB1286_TEENSYPP', or 'Printrboard' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#include "fastio.h"
|
||||
|
||||
#if DISABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS) // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
|
||||
#error "Uncomment '#define AT90USBxx_TEENSYPP_ASSIGNMENTS' in fastio.h for this config"
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' or 'Printrboard' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Brainwave Pro"
|
||||
@ -101,53 +86,53 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 47
|
||||
#define Y_STOP_PIN 18
|
||||
#define Z_MAX_PIN 36
|
||||
#define X_STOP_PIN 45 // F7
|
||||
#define Y_STOP_PIN 12 // C2
|
||||
#define Z_STOP_PIN 36 // E4
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 17
|
||||
#define Z_MIN_PROBE_PIN 11 // C1
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 33
|
||||
#define X_DIR_PIN 32
|
||||
#define X_ENABLE_PIN 11
|
||||
#define X_STEP_PIN 9 // E1
|
||||
#define X_DIR_PIN 8 // E0
|
||||
#define X_ENABLE_PIN 23 // B3
|
||||
|
||||
#define Y_STEP_PIN 31
|
||||
#define Y_DIR_PIN 30
|
||||
#define Y_ENABLE_PIN 8
|
||||
#define Y_STEP_PIN 7 // D7
|
||||
#define Y_DIR_PIN 6 // D6
|
||||
#define Y_ENABLE_PIN 20 // B0
|
||||
|
||||
#define Z_STEP_PIN 29
|
||||
#define Z_DIR_PIN 28
|
||||
#define Z_ENABLE_PIN 37
|
||||
#define Z_STEP_PIN 5 // D5
|
||||
#define Z_DIR_PIN 4 // D4
|
||||
#define Z_ENABLE_PIN 37 // E5
|
||||
|
||||
#define E0_STEP_PIN 35
|
||||
#define E0_DIR_PIN 34
|
||||
#define E0_ENABLE_PIN 13
|
||||
#define E0_STEP_PIN 47 // E3
|
||||
#define E0_DIR_PIN 46 // E2
|
||||
#define E0_ENABLE_PIN 25 // B5
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 2 // Analog Input
|
||||
#define TEMP_1_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 0 // Analog Input
|
||||
#define TEMP_0_PIN 2 // F2 Analog Input
|
||||
#define TEMP_1_PIN 1 // F1 Analog Input
|
||||
#define TEMP_BED_PIN 0 // F0 Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 15
|
||||
#define HEATER_BED_PIN 14 // Bed
|
||||
#define FAN_PIN 16 // Fan, PWM
|
||||
#define HEATER_0_PIN 27 // B7
|
||||
#define HEATER_BED_PIN 26 // B6 Bed
|
||||
#define FAN_PIN 16 // C6 Fan, PWM3A
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 20
|
||||
#define SD_DETECT_PIN 12
|
||||
#define LED_PIN 19
|
||||
#define SDSS 20 // B0
|
||||
#define SD_DETECT_PIN 24 // B4
|
||||
#define LED_PIN 13 // C3
|
||||
|
157
Marlin/pins_PRINTRBOARD.h
Normal file → Executable file
157
Marlin/pins_PRINTRBOARD.h
Normal file → Executable file
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
* Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
@ -21,18 +21,48 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Printrboard pin assignments (AT90USB1286)
|
||||
* Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
|
||||
* http://www.pjrc.com/teensy/teensyduino.html
|
||||
* See http://reprap.org/wiki/Printrboard for more info
|
||||
* Rev B 2 JUN 2017
|
||||
*
|
||||
* Converted to Arduino pin numbering
|
||||
*/
|
||||
|
||||
/**
|
||||
* There are two Arduino IDE extensions that are compatible with this board
|
||||
* and with the mainstream Marlin software.
|
||||
*
|
||||
* Teensyduino - http://www.pjrc.com/teensy/teensyduino.html
|
||||
* Select Teensy++ 2.0 in Arduino IDE from the 'Tools -> Boards' menu
|
||||
*
|
||||
* Installation instructions are at the above URL. Don't bother loading the
|
||||
* libraries - they are not used with the Marlin software.
|
||||
*
|
||||
* Printrboard - https://github.com/scwimbush/Printrboard-HID-Arduino-IDE-Support
|
||||
*
|
||||
* Installation:
|
||||
*
|
||||
* 1. Go to the above URL, click on the "Clone or Download" button and then
|
||||
* click on "Download ZIP" button.
|
||||
* 2. Unzip the file, find the "printrboard" directory and then copy it to the
|
||||
* hardware directory in Arduino. The Arduino hardware directory will probably
|
||||
* be located in a path similar to this: C:\Program Files (x86)\Arduino\hardware.
|
||||
* 3. Restart Arduino.
|
||||
* 4. Select "Printrboard" from the 'Tools -> Boards' menu.
|
||||
*
|
||||
* Teensyduino is the most popular option. Printrboard is used if your board doesn't have
|
||||
* the Teensyduino bootloader on it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* To burn the bootloader that comes with Printrboard:
|
||||
*
|
||||
* 1. Connect your programmer to the board.
|
||||
* 2. In the Arduino IDE select "Printrboard" and then select the programmer.
|
||||
* 3. In the Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
|
||||
* 4. The programmer is no longer needed. Remove it.
|
||||
*/
|
||||
|
||||
#ifndef __AVR_AT90USB1286__
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#if ENABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS) // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
|
||||
#error "These Printrboard assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h"
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' or 'Printrboard' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Printrboard"
|
||||
@ -46,32 +76,32 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 35
|
||||
#define X_STOP_PIN 47 // E3
|
||||
#if ENABLED(SDSUPPORT)
|
||||
#define Y_STOP_PIN 37 // Move Ystop to Estop socket
|
||||
#define Y_STOP_PIN 37 // E5 - Move Ystop to Estop socket
|
||||
#else
|
||||
#define Y_STOP_PIN 8 // Ystop in Ystop socket
|
||||
#define Y_STOP_PIN 20 // B0 SS - Ystop in Ystop socket
|
||||
#endif
|
||||
#define Z_STOP_PIN 36
|
||||
#define Z_STOP_PIN 36 // E4
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 0
|
||||
#define X_DIR_PIN 1
|
||||
#define X_ENABLE_PIN 39
|
||||
#define X_STEP_PIN 28 // A0
|
||||
#define X_DIR_PIN 29 // A1
|
||||
#define X_ENABLE_PIN 19 // E7
|
||||
|
||||
#define Y_STEP_PIN 2
|
||||
#define Y_DIR_PIN 3
|
||||
#define Y_ENABLE_PIN 38
|
||||
#define Y_STEP_PIN 30 // A2
|
||||
#define Y_DIR_PIN 31 // A3
|
||||
#define Y_ENABLE_PIN 18 // E6
|
||||
|
||||
#define Z_STEP_PIN 4
|
||||
#define Z_DIR_PIN 5
|
||||
#define Z_ENABLE_PIN 23
|
||||
#define Z_STEP_PIN 32 // A4
|
||||
#define Z_DIR_PIN 33 // A5
|
||||
#define Z_ENABLE_PIN 17 // C7
|
||||
|
||||
#define E0_STEP_PIN 6
|
||||
#define E0_DIR_PIN 7
|
||||
#define E0_ENABLE_PIN 19
|
||||
#define E0_STEP_PIN 34 // A6
|
||||
#define E0_DIR_PIN 35 // A7
|
||||
#define E0_ENABLE_PIN 13 // C3
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
@ -82,27 +112,19 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 21 // Extruder
|
||||
#define HEATER_1_PIN 46
|
||||
#define HEATER_2_PIN 47
|
||||
#define HEATER_BED_PIN 20
|
||||
#define HEATER_0_PIN 15 // C5 PWM3B - Extruder
|
||||
#define HEATER_1_PIN 44 // F6
|
||||
#define HEATER_2_PIN 45 // F7
|
||||
#define HEATER_BED_PIN 14 // C4 PWM3C
|
||||
|
||||
// If soft or fast PWM is off then use Teensyduino pin numbering, Marlin
|
||||
// fastio pin numbering otherwise
|
||||
#if ENABLED(FAN_SOFT_PWM) || ENABLED(FAST_PWM_FAN)
|
||||
#define FAN_PIN 22
|
||||
#else
|
||||
#define FAN_PIN 16
|
||||
#endif
|
||||
|
||||
#define FAN_PIN 16 // C6 PWM3A
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 26
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define SDSS 20 // B0 SS
|
||||
#define FILWIDTH_PIN 2 // Analog Input
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
@ -113,45 +135,44 @@
|
||||
|
||||
// LCD Pins
|
||||
#if ENABLED(LCD_I2C_PANELOLU2)
|
||||
#define BTN_EN1 27 // RX1 - fastio.h pin mapping 27
|
||||
#define BTN_EN2 26 // TX1 - fastio.h pin mapping 26
|
||||
#define BTN_ENC 43 // A3 - fastio.h pin mapping 43
|
||||
#define SDSS 40 // use SD card on Panelolu2 (Teensyduino pin mapping)
|
||||
#define BTN_EN1 3 // D3 RX1 JP2-7
|
||||
#define BTN_EN2 2 // D2 TX1 JP2-5
|
||||
#define BTN_ENC 41 // F3 JP2-4
|
||||
#define SDSS 38 // F0 B-THERM connector - use SD card on Panelolu2
|
||||
#else
|
||||
#define BTN_EN1 16
|
||||
#define BTN_EN2 17
|
||||
#define BTN_ENC 18 // the click
|
||||
#endif // LCD_I2C_PANELOLU2
|
||||
#define BTN_EN1 10 // C0 JP11-12
|
||||
#define BTN_EN2 11 // C1 JP11-13
|
||||
#define BTN_ENC 12 // C2 JP11-14
|
||||
#endif
|
||||
|
||||
// not connected to a pin
|
||||
// not connected
|
||||
#define SD_DETECT_PIN -1
|
||||
|
||||
#define LCD_PINS_RS 9
|
||||
#define LCD_PINS_ENABLE 8
|
||||
#define LCD_PINS_D4 7
|
||||
#define LCD_PINS_D5 6
|
||||
#define LCD_PINS_D6 5
|
||||
#define LCD_PINS_D7 4
|
||||
#define LCD_PINS_RS 9 // E1 JP11-11
|
||||
#define LCD_PINS_ENABLE 8 // E0 JP11-10
|
||||
#define LCD_PINS_D4 7 // D7 JP11-8
|
||||
#define LCD_PINS_D5 6 // D6 JP11-7
|
||||
#define LCD_PINS_D6 5 // D5 JP11-6
|
||||
#define LCD_PINS_D7 4 // D4 JP11-5
|
||||
|
||||
#endif // ULTRA_LCD && NEWPANEL
|
||||
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
// FastIO
|
||||
#define BEEPER_PIN 32
|
||||
#define BEEPER_PIN 8 // E0 JP11-10
|
||||
// Pins for DOGM SPI LCD Support
|
||||
#define DOGLCD_A0 42 // Non-FastIO
|
||||
#define DOGLCD_CS 43 // Non-FastIO
|
||||
#define DOGLCD_A0 40 // F2 JP2-2
|
||||
#define DOGLCD_CS 41 // F3 JP2-4
|
||||
#define LCD_SCREEN_ROT_180
|
||||
|
||||
// The encoder and click button (FastIO Pins)
|
||||
#define BTN_EN1 26
|
||||
#define BTN_EN2 27
|
||||
#define BTN_ENC 47
|
||||
// The encoder and click button
|
||||
#define BTN_EN1 2 // D2 TX1 JP2-5
|
||||
#define BTN_EN2 3 // D3 RX1 JP2-7
|
||||
#define BTN_ENC 45 // F7 TDI JP2-12
|
||||
|
||||
#define SDSS 45
|
||||
#define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
||||
#define SDSS 43 // F5 TMS JP2-8
|
||||
#define SD_DETECT_PIN -1
|
||||
|
||||
#define STAT_LED_RED_PIN 12 // Non-FastIO
|
||||
#define STAT_LED_BLUE_PIN 10 // Non-FastIO
|
||||
#define STAT_LED_RED_PIN 12 // C2 JP11-14
|
||||
#define STAT_LED_BLUE_PIN 10 // C0 JP11-12
|
||||
|
||||
#endif
|
||||
|
146
Marlin/pins_PRINTRBOARD_REVF.h
Normal file → Executable file
146
Marlin/pins_PRINTRBOARD_REVF.h
Normal file → Executable file
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
* Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
@ -21,18 +21,48 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Printrboard pin assignments (AT90USB1286)
|
||||
* Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
|
||||
* http://www.pjrc.com/teensy/teensyduino.html
|
||||
* See http://reprap.org/wiki/Printrboard for more info
|
||||
* Rev B 2 JUN 2017
|
||||
*
|
||||
* Converted to Arduino pin numbering
|
||||
*/
|
||||
|
||||
/**
|
||||
* There are two Arduino IDE extensions that are compatible with this board
|
||||
* and with the mainstream Marlin software.
|
||||
*
|
||||
* Teensyduino - http://www.pjrc.com/teensy/teensyduino.html
|
||||
* Select Teensy++ 2.0 in Arduino IDE from the 'Tools -> Boards' menu
|
||||
*
|
||||
* Installation instructions are at the above URL. Don't bother loading the
|
||||
* libraries - they are not used with the Marlin software.
|
||||
*
|
||||
* Printrboard - https://github.com/scwimbush/Printrboard-HID-Arduino-IDE-Support
|
||||
*
|
||||
* Installation:
|
||||
*
|
||||
* 1. Go to the above URL, click on the "Clone or Download" button and then
|
||||
* click on "Download ZIP" button.
|
||||
* 2. Unzip the file, find the "printrboard" directory and then copy it to the
|
||||
* hardware directory in Arduino. The Arduino hardware directory will probably
|
||||
* be located in a path similar to this: C:\Program Files (x86)\Arduino\hardware.
|
||||
* 3. Restart Arduino.
|
||||
* 4. Select "Printrboard" from the 'Tools -> Boards' menu.
|
||||
*
|
||||
* Teensyduino is the most popular option. Printrboard is used if your board doesn't have
|
||||
* the Teensyduino bootloader on it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* To burn the bootloader that comes with Printrboard:
|
||||
*
|
||||
* 1. Connect your programmer to the board.
|
||||
* 2. In the Arduino IDE select "Printrboard" and then select the programmer.
|
||||
* 3. In the Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
|
||||
* 4. The programmer is no longer needed. Remove it.
|
||||
*/
|
||||
|
||||
#ifndef __AVR_AT90USB1286__
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#if ENABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS) // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
|
||||
#error "These Printrboard assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h"
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' or 'Printrboard' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Printrboard Rev F"
|
||||
@ -41,28 +71,28 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 35
|
||||
#define Y_STOP_PIN 12
|
||||
#define Z_STOP_PIN 36
|
||||
#define X_STOP_PIN 47 // E3
|
||||
#define Y_STOP_PIN 24 // B4 PWM2A
|
||||
#define Z_STOP_PIN 36 // E4
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 0
|
||||
#define X_DIR_PIN 1
|
||||
#define X_ENABLE_PIN 39
|
||||
#define X_STEP_PIN 28 // A0
|
||||
#define X_DIR_PIN 29 // A1
|
||||
#define X_ENABLE_PIN 19 // E7
|
||||
|
||||
#define Y_STEP_PIN 2
|
||||
#define Y_DIR_PIN 3
|
||||
#define Y_ENABLE_PIN 38
|
||||
#define Y_STEP_PIN 30 // A2
|
||||
#define Y_DIR_PIN 31 // A3
|
||||
#define Y_ENABLE_PIN 18 // E6
|
||||
|
||||
#define Z_STEP_PIN 4
|
||||
#define Z_DIR_PIN 5
|
||||
#define Z_ENABLE_PIN 23
|
||||
#define Z_STEP_PIN 32 // A4
|
||||
#define Z_DIR_PIN 33 // A5
|
||||
#define Z_ENABLE_PIN 17 // C7
|
||||
|
||||
#define E0_STEP_PIN 6
|
||||
#define E0_DIR_PIN 7
|
||||
#define E0_ENABLE_PIN 19
|
||||
#define E0_STEP_PIN 34 // A6
|
||||
#define E0_DIR_PIN 35 // A7
|
||||
#define E0_ENABLE_PIN 13 // C3
|
||||
|
||||
// uncomment to enable an I2C based DAC like on the Printrboard REVF
|
||||
#define DAC_STEPPER_CURRENT
|
||||
@ -85,27 +115,18 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 21 // Extruder
|
||||
#define HEATER_1_PIN 46
|
||||
#define HEATER_2_PIN 47
|
||||
#define HEATER_BED_PIN 20
|
||||
#define HEATER_0_PIN 15 // C5 PWM3B - Extruder
|
||||
#define HEATER_1_PIN 44 // F6
|
||||
#define HEATER_2_PIN 45 // F7
|
||||
#define HEATER_BED_PIN 14 // C4 PWM3C
|
||||
|
||||
// If soft or fast PWM is off then use Teensyduino pin numbering, Marlin
|
||||
// fastio pin numbering otherwise
|
||||
#if ENABLED(FAN_SOFT_PWM) || ENABLED(FAST_PWM_FAN)
|
||||
#define FAN_PIN 22
|
||||
#else
|
||||
#define FAN_PIN 16
|
||||
#endif
|
||||
#define FAN_PIN 16 // C6 PWM3A
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 20 // Teensylu pin mapping
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define SDSS 20 // B0 SS
|
||||
#define FILWIDTH_PIN 2 // Analog Input
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
@ -113,40 +134,33 @@
|
||||
#if ENABLED(ULTRA_LCD)
|
||||
#define BEEPER_PIN -1
|
||||
|
||||
#define LCD_PINS_RS 9
|
||||
#define LCD_PINS_ENABLE 8
|
||||
#define LCD_PINS_D4 7
|
||||
#define LCD_PINS_D5 6
|
||||
#define LCD_PINS_D6 5
|
||||
#define LCD_PINS_D7 4
|
||||
#define LCD_PINS_RS 9 // E1 JP11-11
|
||||
#define LCD_PINS_ENABLE 8 // E0 JP11-10
|
||||
#define LCD_PINS_D4 7 // D7 JP11-8
|
||||
#define LCD_PINS_D5 6 // D6 JP11-7
|
||||
#define LCD_PINS_D6 5 // D5 JP11-6
|
||||
#define LCD_PINS_D7 4 // D4 JP11-5
|
||||
|
||||
#define BTN_EN1 16
|
||||
#define BTN_EN2 17
|
||||
#define BTN_ENC 18 // the click
|
||||
#define BTN_EN1 10 // C0 JP11-12
|
||||
#define BTN_EN2 11 // C1 JP11-13
|
||||
#define BTN_ENC 12 // C2 JP11-14
|
||||
|
||||
#define SD_DETECT_PIN -1
|
||||
|
||||
// encoder rotation values
|
||||
#define encrot0 0
|
||||
#define encrot1 2
|
||||
#define encrot2 3
|
||||
#define encrot3 1
|
||||
#endif
|
||||
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define BEEPER_PIN 32 // FastIO
|
||||
#define DOGLCD_A0 42 // Non-FastIO
|
||||
#define DOGLCD_CS 43 // Non-FastIO
|
||||
#define BEEPER_PIN 8 // E0 JP11-10
|
||||
#define DOGLCD_A0 40 // F2 JP2-2
|
||||
#define DOGLCD_CS 41 // F3 JP2-4
|
||||
#define LCD_SCREEN_ROT_180
|
||||
|
||||
// (FastIO Pins)
|
||||
#define BTN_EN1 26
|
||||
#define BTN_EN2 27
|
||||
#define BTN_ENC 47
|
||||
#define BTN_EN1 2 // D2 TX1 JP2-5
|
||||
#define BTN_EN2 3 // D3 RX1 JP2-7
|
||||
#define BTN_ENC 45 // F7 TDI JP2-12
|
||||
|
||||
#define SDSS 45
|
||||
#define SD_DETECT_PIN -1 // FastIO (Manual says 72)
|
||||
#define SDSS 43 // F5 TMS JP2-8
|
||||
#define SD_DETECT_PIN -1
|
||||
|
||||
#define STAT_LED_RED_PIN 12 // Non-FastIO
|
||||
#define STAT_LED_BLUE_PIN 10 // Non-FastIO
|
||||
#define STAT_LED_RED_PIN 12 // C2 JP11-14
|
||||
#define STAT_LED_BLUE_PIN 10 // C0 JP11-12
|
||||
#endif
|
||||
|
136
Marlin/pins_SAV_MKI.h
Normal file → Executable file
136
Marlin/pins_SAV_MKI.h
Normal file → Executable file
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
* Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
@ -21,14 +21,48 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* SAV MkI pin assignments (AT90USB1286)
|
||||
* Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
|
||||
* http://www.pjrc.com/teensy/teensyduino.html
|
||||
* RepRap Clone Wars project board.
|
||||
* Rev B 2 JUN 2017
|
||||
*
|
||||
* Converted to Arduino pin numbering
|
||||
*/
|
||||
|
||||
/**
|
||||
* There are two Arduino IDE extensions that are compatible with this board
|
||||
* and with the mainstream Marlin software.
|
||||
*
|
||||
* Teensyduino - http://www.pjrc.com/teensy/teensyduino.html
|
||||
* Select Teensy++ 2.0 in Arduino IDE from the 'Tools -> Boards' menu
|
||||
*
|
||||
* Installation instructions are at the above URL. Don't bother loading the
|
||||
* libraries - they are not used with the Marlin software.
|
||||
*
|
||||
* Printrboard - https://github.com/scwimbush/Printrboard-HID-Arduino-IDE-Support
|
||||
*
|
||||
* Installation:
|
||||
*
|
||||
* 1. Go to the above URL, click on the "Clone or Download" button and then
|
||||
* click on "Download ZIP" button.
|
||||
* 2. Unzip the file, find the "printrboard" directory and then copy it to the
|
||||
* hardware directory in Arduino. The Arduino hardware directory will probably
|
||||
* be located in a path similar to this: C:\Program Files (x86)\Arduino\hardware.
|
||||
* 3. Restart Arduino.
|
||||
* 4. Select "Printrboard" from the 'Tools -> Boards' menu.
|
||||
*
|
||||
* Teensyduino is the most popular option. Printrboard is used if your board doesn't have
|
||||
* the Teensyduino bootloader on it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* To burn the bootloader that comes with Printrboard:
|
||||
*
|
||||
* 1. Connect your programmer to the board.
|
||||
* 2. In the Arduino IDE select "Printrboard" and then select the programmer.
|
||||
* 3. In the Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
|
||||
* 4. The programmer is no longer needed. Remove it.
|
||||
*/
|
||||
|
||||
#ifndef __AVR_AT90USB1286__
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' or 'Printrboard' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#define DEFAULT_MACHINE_NAME "SAV MkI"
|
||||
@ -41,54 +75,54 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 41 // In teensy's pin definition for pinMode (in servo.cpp)
|
||||
#define SERVO0_PIN 39 // F1 In teensy's pin definition for pinMode (in servo.cpp)
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 13
|
||||
#define Y_STOP_PIN 14
|
||||
//#define Z_STOP_PIN 15
|
||||
#define Z_STOP_PIN 36 // For inductive sensor.
|
||||
#define X_STOP_PIN 25 // B5
|
||||
#define Y_STOP_PIN 26 // B6
|
||||
//#define Z_STOP_PIN 27 // B7
|
||||
#define Z_STOP_PIN 36 // E4 For inductive sensor.
|
||||
//#define E_STOP_PIN 36 // E4
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 0
|
||||
#define X_DIR_PIN 1
|
||||
#define X_ENABLE_PIN 39
|
||||
#define X_STEP_PIN 28 // A0
|
||||
#define X_DIR_PIN 29 // A1
|
||||
#define X_ENABLE_PIN 19 // E7
|
||||
|
||||
#define Y_STEP_PIN 2
|
||||
#define Y_DIR_PIN 3
|
||||
#define Y_ENABLE_PIN 38
|
||||
#define Y_STEP_PIN 30 // A2
|
||||
#define Y_DIR_PIN 31 // A3
|
||||
#define Y_ENABLE_PIN 18 // E6
|
||||
|
||||
#define Z_STEP_PIN 4
|
||||
#define Z_DIR_PIN 5
|
||||
#define Z_ENABLE_PIN 23
|
||||
#define Z_STEP_PIN 32 // A4
|
||||
#define Z_DIR_PIN 33 // A5
|
||||
#define Z_ENABLE_PIN 17 // C7
|
||||
|
||||
#define E0_STEP_PIN 6
|
||||
#define E0_DIR_PIN 7
|
||||
#define E0_ENABLE_PIN 19
|
||||
#define E0_STEP_PIN 34 // A6
|
||||
#define E0_DIR_PIN 35 // A7
|
||||
#define E0_ENABLE_PIN 13 // C3
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 7 // Analog Input (Extruder)
|
||||
#define TEMP_BED_PIN 6 // Analog Input (Bed)
|
||||
#define TEMP_0_PIN 7 // F7 Analog Input (Extruder)
|
||||
#define TEMP_BED_PIN 6 // F6 Analog Input (Bed)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 21 // Extruder
|
||||
#define HEATER_BED_PIN 20 // Bed
|
||||
#define HEATER_0_PIN 15 // C5 PWM3B - Extruder
|
||||
#define HEATER_BED_PIN 14 // C4 PWM3C - Bed
|
||||
|
||||
#define FAN_PIN 16 // Fan -- from Teensyduino environment.
|
||||
// For the fan and Teensyduino uses a different pin mapping.
|
||||
#define FAN_PIN 16 // C6 PWM3A
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 20 // PB0 - 8 in marlin env.
|
||||
#define SDSS 20 // B0
|
||||
|
||||
// Extension header pin mapping
|
||||
// ----------------------------
|
||||
@ -99,21 +133,21 @@
|
||||
// PWM-D24 A4 (An), IO
|
||||
// 5V GND
|
||||
// 12V GND
|
||||
#define EXT_AUX_SCL_D0 0 // 0 (teensy), 24 (marlin)
|
||||
#define EXT_AUX_SDA_D1 1 // 1 (teensy), 25 (marlin)
|
||||
#define EXT_AUX_RX1_D2 26 // 2 (teensy), 26 (marlin)
|
||||
#define EXT_AUX_TX1_D3 27 // 3 (teensy), 27 (marlin)
|
||||
#define EXT_AUX_PWM_D24 12 // 24 (teensy), 12 (marlin)
|
||||
#define EXT_AUX_A0 0 // Analog
|
||||
#define EXT_AUX_A0_IO 40 // Digital IO, 38 (teensy), 40 (marlin)
|
||||
#define EXT_AUX_A1 1 // Analog
|
||||
#define EXT_AUX_A1_IO 41 // Digital IO, 39 (teensy), 41 (marlin)
|
||||
#define EXT_AUX_A2 2 // Analog
|
||||
#define EXT_AUX_A2_IO 42 // Digital IO, 40 (teensy), 42 (marlin)
|
||||
#define EXT_AUX_A3 3 // Analog
|
||||
#define EXT_AUX_A3_IO 43 // Digital IO, 41 (teensy), 43 (marlin)
|
||||
#define EXT_AUX_A4 4 // Analog
|
||||
#define EXT_AUX_A4_IO 44 // Digital IO, 42 (teensy), 44 (marlin)
|
||||
#define EXT_AUX_SCL_D0 0 // D0 PWM0B
|
||||
#define EXT_AUX_SDA_D1 1 // D1
|
||||
#define EXT_AUX_RX1_D2 2 // D2
|
||||
#define EXT_AUX_TX1_D3 3 // D3
|
||||
#define EXT_AUX_PWM_D24 24 // B4 PWM2A
|
||||
#define EXT_AUX_A0 0 // F0 Analog Input
|
||||
#define EXT_AUX_A0_IO 38 // F0 Digital IO
|
||||
#define EXT_AUX_A1 1 // F1 Analog Input
|
||||
#define EXT_AUX_A1_IO 39 // F1 Digital IO
|
||||
#define EXT_AUX_A2 2 // F2 Analog Input
|
||||
#define EXT_AUX_A2_IO 40 // F2 Digital IO
|
||||
#define EXT_AUX_A3 3 // F3 Analog Input
|
||||
#define EXT_AUX_A3_IO 41 // F3 Digital IO
|
||||
#define EXT_AUX_A4 4 // F4 Analog Input
|
||||
#define EXT_AUX_A4_IO 42 // F4 Digital IO
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
@ -130,7 +164,7 @@
|
||||
// For LCD SHIFT register LCD
|
||||
#define SR_DATA_PIN EXT_AUX_SDA_D1
|
||||
#define SR_CLK_PIN EXT_AUX_SCL_D0
|
||||
#endif // SAV_3DLCD
|
||||
#endif
|
||||
|
||||
#if ENABLED(SAV_3DLCD) || ENABLED(SAV_3DGLCD)
|
||||
|
||||
@ -141,15 +175,15 @@
|
||||
#define KILL_PIN EXT_AUX_A2_IO
|
||||
#define HOME_PIN EXT_AUX_A4_IO
|
||||
|
||||
#else // Try to use the expansion header for spindle control
|
||||
#else // Use the expansion header for spindle control
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_PWM_PIN 24 // 12 AT90USB… pin #
|
||||
#define SPINDLE_LASER_ENABLE_PIN 39 // Pin should have a pullup! 41 AT90USB… pin #
|
||||
#define SPINDLE_DIR_PIN 40 // 42 AT90USB… pin #
|
||||
#define SPINDLE_LASER_PWM_PIN 24 // B4 PWM2A
|
||||
#define SPINDLE_LASER_ENABLE_PIN 39 // F1 Pin should have a pullup!
|
||||
#define SPINDLE_DIR_PIN 40 // F2
|
||||
|
||||
#define CASE_LIGHT_PIN 0 // 24 AT90USB… pin #
|
||||
#define CASE_LIGHT_PIN 0 // D0 PWM0B
|
||||
|
||||
#endif
|
||||
|
124
Marlin/pins_TEENSY2.h
Normal file → Executable file
124
Marlin/pins_TEENSY2.h
Normal file → Executable file
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
* Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
@ -20,13 +20,54 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Rev B 2 JUN 2017
|
||||
*
|
||||
* Converted to Arduino pin numbering
|
||||
*/
|
||||
|
||||
/**
|
||||
* There are two Arduino IDE extensions that are compatible with this board
|
||||
* and with the mainstream Marlin software.
|
||||
*
|
||||
* Teensyduino - http://www.pjrc.com/teensy/teensyduino.html
|
||||
* Select Teensy++ 2.0 in Arduino IDE from the 'Tools -> Boards' menu
|
||||
*
|
||||
* Installation instructions are at the above URL. Don't bother loading the
|
||||
* libraries - they are not used with the Marlin software.
|
||||
*
|
||||
* Printrboard - https://github.com/scwimbush/Printrboard-HID-Arduino-IDE-Support
|
||||
*
|
||||
* Installation:
|
||||
*
|
||||
* 1. Go to the above URL, click on the "Clone or Download" button and then
|
||||
* click on "Download ZIP" button.
|
||||
* 2. Unzip the file, find the "printrboard" directory and then copy it to the
|
||||
* hardware directory in Arduino. The Arduino hardware directory will probably
|
||||
* be located in a path similar to this: C:\Program Files (x86)\Arduino\hardware.
|
||||
* 3. Restart Arduino.
|
||||
* 4. Select "Printrboard" from the 'Tools -> Boards' menu.
|
||||
*
|
||||
* Teensyduino is the most popular option. Printrboard is used if your board doesn't have
|
||||
* the Teensyduino bootloader on it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* To burn the bootloader that comes with Printrboard:
|
||||
*
|
||||
* 1. Connect your programmer to the board.
|
||||
* 2. In the Arduino IDE select "Printrboard" and then select the programmer.
|
||||
* 3. In the Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
|
||||
* 4. The programmer is no longer needed. Remove it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Teensy++ 2.0 Breadboard pin assignments (AT90USB1286)
|
||||
* Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
|
||||
* http://www.pjrc.com/teensy/teensyduino.html
|
||||
* See http://reprap.org/wiki/Printrboard for more info
|
||||
*
|
||||
* CLI build: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84 make
|
||||
* CLI build: HARDWARE_MOTHERBOARD=84 make
|
||||
*
|
||||
* DaveX plan for Teensylu/printrboard-type pinouts for a TeensyBreadboard:
|
||||
* (ref teensylu & sprinter)
|
||||
@ -66,12 +107,7 @@
|
||||
*/
|
||||
|
||||
#ifndef __AVR_AT90USB1286__
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#if DISABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS) // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
|
||||
#error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
|
||||
// (or build from command line)
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' or 'Printrboard' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Teensy++2.0"
|
||||
@ -82,68 +118,68 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 2
|
||||
#define Y_STOP_PIN 3
|
||||
#define Z_STOP_PIN 4
|
||||
#define X_STOP_PIN 2 // D2
|
||||
#define Y_STOP_PIN 3 // D3
|
||||
#define Z_STOP_PIN 4 // D4
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 28 // 0 Marlin
|
||||
#define X_DIR_PIN 29 // 1 Marlin
|
||||
#define X_ENABLE_PIN 26
|
||||
#define X_STEP_PIN 28 // A0 Marlin
|
||||
#define X_DIR_PIN 29 // A1 Marlin
|
||||
#define X_ENABLE_PIN 26 // B6
|
||||
|
||||
#define Y_STEP_PIN 30 // 2 Marlin
|
||||
#define Y_DIR_PIN 31 // 3
|
||||
#define Y_ENABLE_PIN 26 // Shared w/x
|
||||
#define Y_STEP_PIN 30 // A2 Marlin
|
||||
#define Y_DIR_PIN 31 // A3
|
||||
#define Y_ENABLE_PIN 26 // B6 Shared w/x
|
||||
|
||||
#define Z_STEP_PIN 32 // 4
|
||||
#define Z_DIR_PIN 33 // 5
|
||||
#define Z_ENABLE_PIN 26 // Shared w/x
|
||||
#define Z_STEP_PIN 32 // A4
|
||||
#define Z_DIR_PIN 33 // A5
|
||||
#define Z_ENABLE_PIN 26 // B6 Shared w/x
|
||||
|
||||
#define E0_STEP_PIN 34 // 6
|
||||
#define E0_DIR_PIN 35 // 7
|
||||
#define E0_ENABLE_PIN 26 // Shared w/x
|
||||
#define E0_STEP_PIN 34 // A6
|
||||
#define E0_DIR_PIN 35 // A7
|
||||
#define E0_ENABLE_PIN 26 // B6 Shared w/x
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 7 // Analog Input (Extruder)
|
||||
#define TEMP_BED_PIN 6 // Analog Input (Bed)
|
||||
#define TEMP_0_PIN 7 // F7 Analog Input (Extruder)
|
||||
#define TEMP_BED_PIN 6 // F6 Analog Input (Bed)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 15 // 21 // Extruder
|
||||
#define HEATER_BED_PIN 14 // 20 // Bed
|
||||
#define FAN_PIN 16 // 22 // Fan
|
||||
#define HEATER_0_PIN 15 // C5 PWM3B Extruder
|
||||
#define HEATER_BED_PIN 14 // C4 PWM3C
|
||||
#define FAN_PIN 16 // C6 PWM3A Fan
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 20 // 8
|
||||
#define LED_PIN 6
|
||||
#define PS_ON_PIN 27
|
||||
#define CASE_LIGHT_PIN 1 // MUST BE HARDWARE PWM
|
||||
#define SDSS 20 // B0
|
||||
#define LED_PIN 6 // D6
|
||||
#define PS_ON_PIN 27 // B7
|
||||
#define CASE_LIGHT_PIN 1 // D1 PWM2B MUST BE HARDWARE PWM
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if ENABLED(ULTIPANEL)
|
||||
#define LCD_PINS_RS 8
|
||||
#define LCD_PINS_ENABLE 9
|
||||
#define LCD_PINS_D4 10
|
||||
#define LCD_PINS_D5 11
|
||||
#define LCD_PINS_D6 12
|
||||
#define LCD_PINS_D7 13
|
||||
#define BTN_EN1 38
|
||||
#define BTN_EN2 39
|
||||
#define BTN_ENC 40
|
||||
#define LCD_PINS_RS 8 // E0
|
||||
#define LCD_PINS_ENABLE 9 // E1
|
||||
#define LCD_PINS_D4 10 // C0
|
||||
#define LCD_PINS_D5 11 // C1
|
||||
#define LCD_PINS_D6 12 // C2
|
||||
#define LCD_PINS_D7 13 // C3
|
||||
#define BTN_EN1 38 // F0
|
||||
#define BTN_EN2 39 // F1
|
||||
#define BTN_ENC 40 // F2
|
||||
#endif
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_ENABLE_PIN 5 // Pin should have a pullup!
|
||||
#define SPINDLE_LASER_PWM_PIN 0 // MUST BE HARDWARE PWM
|
||||
#define SPINDLE_DIR_PIN 7
|
||||
#define SPINDLE_LASER_ENABLE_PIN 5 // D5 Pin should have a pullup!
|
||||
#define SPINDLE_LASER_PWM_PIN 0 // D0 PWM0B MUST BE HARDWARE PWM
|
||||
#define SPINDLE_DIR_PIN 7 // D7
|
||||
|
157
Marlin/pins_TEENSYLU.h
Normal file → Executable file
157
Marlin/pins_TEENSYLU.h
Normal file → Executable file
@ -21,54 +21,46 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* rev B 30 DEC 2016
|
||||
* Rev C 2 JUN 2017
|
||||
*
|
||||
* The original version of this file did NOT result in a useful program because:
|
||||
* 1. The pin numbers assumed that the "#define AT90USBxx_TEENSYPP_ASSIGNMENTS" line
|
||||
* in FASTIO.h was commented out. There wasn't an Arduino IDE 1.6.x extension/package
|
||||
* that supported this pin map so the latest Marlin wouldn't compile.
|
||||
* 2. The silkscreen for the four end stops don't agree with the schematic. Activating
|
||||
* the X endstop would tell the software that the Y endstop just went active.
|
||||
* 3. The thermistor inputs also had heater names assigned to them. The result was
|
||||
* thermistor inputs that were set to digital outputs.
|
||||
* Converted to Arduino pin numbering
|
||||
*/
|
||||
|
||||
/**
|
||||
* There are two Arduino IDE extensions that are compatible with this board
|
||||
* and with the mainstream Marlin software. All have been used with Arduino 1.6.12
|
||||
*
|
||||
* Rev B corrects the above problems by:
|
||||
* 1. The "Marlin_AT90USB" extension/package was developed. This extension enables the
|
||||
* latest Marlin software to compile using Arduino IDE 1.6.x and 1.80.
|
||||
* 2. The endstop pin numbers in this file were changed to match the silkscreen. This
|
||||
* makes it a little confusing when trying to correlate the schematic with the pin
|
||||
* numbers used in this file.
|
||||
* 3. The offending heater names were deleted.
|
||||
* Teensyduino - http://www.pjrc.com/teensy/teensyduino.html
|
||||
* Select Teensy++ 2.0 in Arduino IDE from the 'Tools -> Boards' menu
|
||||
*
|
||||
* To create a useable image for Teensylu do the following:
|
||||
* a) Install the Marlin_AT90USB extension with either of the following methods:
|
||||
* Automatic - paste this URL into preferences and then use Boards manager
|
||||
* https://rawgit.com/Bob-the-Kuhn/Marlin_AT90USB/master/package_MARLIN_AT90USB_index.json
|
||||
* Manual:
|
||||
* 1. Copy the following URL into Go to "https://github.com/Bob-the-Kuhn/Marlin_AT90USB",
|
||||
* click on the "Clone or Download" button and then click on "Download ZIP" button.
|
||||
* 2. Unzip the file, find the "Marlin_AT90USB" directory and then copy it to the
|
||||
* hardware directory in Arduino. The Arduino hardware directory will probably be
|
||||
* located in a path similar to this: C:\Program Files (x86)\Arduino\hardware
|
||||
* b) Connect the USBtinyISP to the board.
|
||||
* c) In the Arduino IDE select the "AT90USB1286_STANDARD" board in the of the "Marlin_AT90USB"
|
||||
* section and select the "USBtinyISP" programmer.
|
||||
* d) In the Arduino IDE click on "burn bootloader". Don't worry about the "verify
|
||||
* failed at 1F000" error message.
|
||||
* e) The USBtinyISP programmer is no longer needed. Remove it.
|
||||
* f) In FASTIO.h comment out the "#define AT90USBxx_TEENSYPP_ASSIGNMENTS" line.
|
||||
* g) To upload a sketch do the following:
|
||||
* 1. remove the jumper
|
||||
* 2. press reset
|
||||
* 3. click on the "upload" button in the Arduino IDE
|
||||
* 4. wait until the upload finishes (less than a minute)
|
||||
* 5. put the jumper back on
|
||||
* 6. press the reset button
|
||||
* Installation instructions are at the above URL. Don't bother loading the
|
||||
* libraries - they are not used with the Marlin software.
|
||||
*
|
||||
* Printrboard - https://github.com/scwimbush/Printrboard-HID-Arduino-IDE-Support
|
||||
* This is basically Teensyduino but with a bootloader that can handle image sizes
|
||||
* larger than 64K.
|
||||
*
|
||||
* NOTE - the "Marlin_AT90USB" pin maps make PWM0A available rather than the usual PWM1C.
|
||||
* These PWMs share the same physical pin. Marlin uses TIMER1 to generate
|
||||
* interrupts and sets it up such that PWM1A, PWM1B & PWM1C can't be used.
|
||||
* Installation:
|
||||
*
|
||||
* 1. Go to the above URL, click on the "Clone or Download" button and then
|
||||
* click on "Download ZIP" button.
|
||||
* 2. Unzip the file, find the "printrboard" directory and then copy it to the
|
||||
* hardware directory in Arduino. The Arduino hardware directory will probably
|
||||
* be located in a path similar to this: C:\Program Files (x86)\Arduino\hardware.
|
||||
* 3. Restart Arduino.
|
||||
* 4. Select "Printrboard" from the 'Tools -> Boards' menu.
|
||||
*
|
||||
* Teensyduino is the most popular option. Printrboard is used if your board doesn't have
|
||||
* the Teensyduino bootloader on it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* To burn the bootloader that comes with Printrboard:
|
||||
*
|
||||
* 1. Connect your programmer to the board.
|
||||
* 2. In the Arduino IDE select "Printrboard" and then select the programmer.
|
||||
* 3. In the Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
|
||||
* 4. The programmer is no longer needed. Remove it.
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -81,13 +73,8 @@
|
||||
* The pin assignments in this file match the silkscreen.
|
||||
*/
|
||||
|
||||
|
||||
#if !defined(__AVR_AT90USB1286__) && !defined(__AVR_AT90USB1286P__)
|
||||
#error "Oops! Make sure you have 'AT90USB1286_STANDARD' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#if ENABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS)
|
||||
#error "please disable (comment out) the AT90USBxx_TEENSYPP_ASSIGNMENTS flag in FASTIO.h "
|
||||
#error "Oops! Make sure you have 'Teensy++ 2.0' or 'Printrboard' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Teensylu"
|
||||
@ -97,60 +84,60 @@
|
||||
|
||||
|
||||
//
|
||||
// Limit Switche definitions that match the SCHEMATIC
|
||||
// Limit Switch definitions that match the SCHEMATIC
|
||||
//
|
||||
//#define X_STOP_PIN 13
|
||||
//#define Y_STOP_PIN 14
|
||||
//#define Z_STOP_PIN 15
|
||||
//#define E_STOP_PIN 36
|
||||
//#define X_STOP_PIN 25 // B5
|
||||
//#define Y_STOP_PIN 26 // B6
|
||||
//#define Z_STOP_PIN 27 // B7
|
||||
//#define E_STOP_PIN 36 // E4
|
||||
|
||||
|
||||
//
|
||||
// Limit Switch definitions that match the SILKSCREEN
|
||||
//
|
||||
#define X_STOP_PIN 14
|
||||
#define Y_STOP_PIN 15
|
||||
#define Z_STOP_PIN 36
|
||||
//#define E_STOP_PIN 13
|
||||
#define X_STOP_PIN 26 // B6
|
||||
#define Y_STOP_PIN 27 // B7
|
||||
#define Z_STOP_PIN 36 // E4
|
||||
//#define E_STOP_PIN 25 // B5
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 0
|
||||
#define X_DIR_PIN 1
|
||||
#define X_ENABLE_PIN 39
|
||||
#define X_STEP_PIN 28 // A0
|
||||
#define X_DIR_PIN 29 // A1
|
||||
#define X_ENABLE_PIN 19 // E7
|
||||
|
||||
#define Y_STEP_PIN 2
|
||||
#define Y_DIR_PIN 3
|
||||
#define Y_ENABLE_PIN 38
|
||||
#define Y_STEP_PIN 30 // A2
|
||||
#define Y_DIR_PIN 31 // A3
|
||||
#define Y_ENABLE_PIN 18 // E6
|
||||
|
||||
#define Z_STEP_PIN 4
|
||||
#define Z_DIR_PIN 5
|
||||
#define Z_ENABLE_PIN 23
|
||||
|
||||
#define E0_STEP_PIN 6
|
||||
#define E0_DIR_PIN 7
|
||||
#define E0_ENABLE_PIN 19
|
||||
#define Z_STEP_PIN 32 // A4
|
||||
#define Z_DIR_PIN 33 // A5
|
||||
#define Z_ENABLE_PIN 17 // C7
|
||||
|
||||
#define E0_STEP_PIN 34 // A6
|
||||
#define E0_DIR_PIN 35 // A7
|
||||
#define E0_ENABLE_PIN 13 // C3
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
|
||||
//
|
||||
#define TEMP_0_PIN 7 // Analog Input (Extruder)
|
||||
#define TEMP_BED_PIN 6 // Analog Input (Bed)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 21 // Extruder
|
||||
#define HEATER_BED_PIN 20
|
||||
#define HEATER_0_PIN 15 // C5 PWM3B - Extruder
|
||||
#define HEATER_BED_PIN 14 // C4 PWM3C
|
||||
|
||||
#define FAN_PIN 22
|
||||
#define FAN_PIN 16 // C6 PWM3A
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 8
|
||||
#define CASE_LIGHT_PIN 24
|
||||
#define SDSS 20 // B0 JP31-6
|
||||
#define CASE_LIGHT_PIN 0 // D0 IO-14 PWM0B
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
@ -160,11 +147,11 @@
|
||||
#define BEEPER_PIN -1
|
||||
|
||||
#if ENABLED(LCD_I2C_PANELOLU2)
|
||||
#define BTN_EN1 27
|
||||
#define BTN_EN2 26
|
||||
#define BTN_ENC 43
|
||||
#define SDSS 40 // use SD card on Panelolu2
|
||||
#endif // LCD_I2C_PANELOLU2
|
||||
#define BTN_EN1 3 // D3 IO-8
|
||||
#define BTN_EN2 2 // D2 IO-10
|
||||
#define BTN_ENC 41 // F3 IO-7
|
||||
#define SDSS 38 // F0 IO-13 use SD card on Panelolu2
|
||||
#endif
|
||||
|
||||
#define SD_DETECT_PIN -1
|
||||
|
||||
@ -173,6 +160,6 @@
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_PWM_PIN 12 // MUST BE HARDWARE PWM
|
||||
#define SPINDLE_LASER_ENABLE_PIN 41 // Pin should have a pullup!
|
||||
#define SPINDLE_DIR_PIN 42
|
||||
#define SPINDLE_LASER_PWM_PIN 24 // B4 IO-3 PWM2A - MUST BE HARDWARE PWM
|
||||
#define SPINDLE_LASER_ENABLE_PIN 39 // F1 IO-11 - Pin should have a pullup!
|
||||
#define SPINDLE_DIR_PIN 40 // F2 IO-9
|
||||
|
Loading…
Reference in New Issue
Block a user