574a5ab72a
Hopefully this is helpful to organization and future expansion….
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/**
|
|
* Duemilanove w/ ATMega328P pin assignments
|
|
*/
|
|
|
|
#ifndef __AVR_ATmega328P__
|
|
#error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.
|
|
#endif
|
|
|
|
#define X_STEP_PIN 19
|
|
#define X_DIR_PIN 18
|
|
#define X_ENABLE_PIN -1
|
|
#define X_STOP_PIN 17
|
|
|
|
#define Y_STEP_PIN 10
|
|
#define Y_DIR_PIN 7
|
|
#define Y_ENABLE_PIN -1
|
|
#define Y_STOP_PIN 8
|
|
|
|
#define Z_STEP_PIN 13
|
|
#define Z_DIR_PIN 3
|
|
#define Z_ENABLE_PIN 2
|
|
#define Z_STOP_PIN 4
|
|
|
|
#define E0_STEP_PIN 11
|
|
#define E0_DIR_PIN 12
|
|
#define E0_ENABLE_PIN -1
|
|
|
|
#define SDPOWER -1
|
|
#define SDSS -1
|
|
#define LED_PIN -1
|
|
#define FAN_PIN 5
|
|
#define PS_ON_PIN -1
|
|
#define KILL_PIN -1
|
|
|
|
#define HEATER_0_PIN 6
|
|
#define HEATER_1_PIN -1
|
|
#define HEATER_2_PIN -1
|
|
#define TEMP_0_PIN 0 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
|
|
#define TEMP_1_PIN -1
|
|
#define TEMP_2_PIN -1
|
|
#define HEATER_BED_PIN -1
|
|
#define TEMP_BED_PIN -1
|
|
|