#error Oops! Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
#endif
#ifdef RA_DISCO
//variables for which pins the TLC5947 is using
#define TLC_CLOCK_PIN 25
#define TLC_BLANK_PIN 23
#define TLC_XLAT_PIN 22
#define TLC_DATA_PIN 24
#ifndef GEN7_VERSION
//We also need to define pin to port number mapping for the 2560 to match the pins listed above. If you change the TLC pins, update this as well per the 2560 datasheet!
#define GEN7_VERSION 14 // v1.x
//This currently only works with the RA Board.
#endif
#define TLC_CLOCK_BIT 3 //bit 3 on port A
#define TLC_CLOCK_PORT &PORTA //bit 3 on port A
//x axis pins
#define TLC_BLANK_BIT 1 //bit 1 on port A
#define ORIG_X_STEP_PIN 29
#define TLC_BLANK_PORT &PORTA //bit 1 on port A
#define ORIG_X_DIR_PIN 28
#define ORIG_X_ENABLE_PIN 25
#define X_STOP_PIN 0
//y axis pins
#define TLC_DATA_BIT 2 //bit 2 on port A
#define ORIG_Y_STEP_PIN 27
#define TLC_DATA_PORT &PORTA //bit 2 on port A
#define ORIG_Y_DIR_PIN 26
#define ORIG_Y_ENABLE_PIN 25
#define Y_STOP_PIN 1
//z axis pins
#define TLC_XLAT_BIT 0 //bit 0 on port A
#define ORIG_Z_STEP_PIN 23
#define TLC_XLAT_PORT &PORTA //bit 0 on port A
#define ORIG_Z_DIR_PIN 22
#define ORIG_Z_ENABLE_PIN 25
#define Z_STOP_PIN 2
//extruder pins
//change this to match your situation. Lots of TLCs takes up the arduino SRAM very quickly, so be careful
#define ORIG_E0_STEP_PIN 19
//Leave it at at least 1 if you have enabled RA_LIGHTING
#define ORIG_E0_DIR_PIN 18
//The number of TLC5947 boards chained together for use with the animation, additional ones will repeat the animation on them, but are not individually addressable and mimic those before them. You can leave the default at 2 even if you only have 1 TLC5947 module.
#define ORIG_E0_ENABLE_PIN 25
#define NUM_TLCS 2
#define ORIG_TEMP_0_PIN 1
//These TRANS_ARRAY values let you change the order the LEDs on the lighting modules will animate for chase functions.
#define ORIG_TEMP_1_PIN -1
//Modify them according to your specific situation.
#define ORIG_TEMP_2_PIN -1
//NOTE: the array should be 8 long for every TLC you have. These defaults assume (2) TLCs.
#error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.
#define TLC_CLOCK_PIN 25
#endif
#define TLC_BLANK_PIN 23
#define TLC_XLAT_PIN 22
#define TLC_DATA_PIN 24
//We also need to define pin to port number mapping for the 2560 to match the pins listed above. If you change the TLC pins, update this as well per the 2560 datasheet!
#define ORIG_X_STEP_PIN 19
//This currently only works with the RA Board.
#define ORIG_X_DIR_PIN 18
#define TLC_CLOCK_BIT 3 //bit 3 on port A
#define ORIG_X_ENABLE_PIN -1
#define TLC_CLOCK_PORT &PORTA //bit 3 on port A
#define X_STOP_PIN 17
#define TLC_BLANK_BIT 1 //bit 1 on port A
#define ORIG_Y_STEP_PIN 10
#define TLC_BLANK_PORT &PORTA //bit 1 on port A
#define ORIG_Y_DIR_PIN 7
#define ORIG_Y_ENABLE_PIN -1
#define Y_STOP_PIN 8
#define TLC_DATA_BIT 2 //bit 2 on port A
#define ORIG_Z_STEP_PIN 13
#define TLC_DATA_PORT &PORTA //bit 2 on port A
#define ORIG_Z_DIR_PIN 3
#define ORIG_Z_ENABLE_PIN 2
#define Z_STOP_PIN 4
#define TLC_XLAT_BIT 0 //bit 0 on port A
#define ORIG_E0_STEP_PIN 11
#define TLC_XLAT_PORT &PORTA //bit 0 on port A
#define ORIG_E0_DIR_PIN 12
#define ORIG_E0_ENABLE_PIN -1
//change this to match your situation. Lots of TLCs takes up the arduino SRAM very quickly, so be careful
#define SDPOWER -1
//Leave it at at least 1 if you have enabled RA_LIGHTING
#define SDSS -1
//The number of TLC5947 boards chained together for use with the animation, additional ones will repeat the animation on them, but are not individually addressable and mimic those before them. You can leave the default at 2 even if you only have 1 TLC5947 module.
#define LED_PIN -1
#define NUM_TLCS 2
#define ORIG_FAN_PIN 5
#define PS_ON_PIN -1
#define KILL_PIN -1
//These TRANS_ARRAY values let you change the order the LEDs on the lighting modules will animate for chase functions.
#define ORIG_HEATER_0_PIN 6
//Modify them according to your specific situation.
#define ORIG_HEATER_1_PIN -1
//NOTE: the array should be 8 long for every TLC you have. These defaults assume (2) TLCs.