|
@ -155,9 +155,8 @@ |
|
|
//
|
|
|
//
|
|
|
// Misc. Functions
|
|
|
// Misc. Functions
|
|
|
//
|
|
|
//
|
|
|
#define CASE_LIGHT_PIN 8 |
|
|
|
|
|
#define SDSS 53 |
|
|
#define SDSS 53 |
|
|
#ifndef ROXYs_TRex |
|
|
#ifndef LED_PIN |
|
|
#define LED_PIN 13 // The Formbot v 1 board has almost no unassigned pins on it. The Board's LED
|
|
|
#define LED_PIN 13 // The Formbot v 1 board has almost no unassigned pins on it. The Board's LED
|
|
|
#endif // is a good place to get a signal to control the Max7219 LED Matrix.
|
|
|
#endif // is a good place to get a signal to control the Max7219 LED Matrix.
|
|
|
|
|
|
|
|
@ -168,24 +167,28 @@ |
|
|
#define PS_ON_PIN 12 |
|
|
#define PS_ON_PIN 12 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#define CASE_LIGHT_PIN 8 |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// LCD / Controller
|
|
|
// LCD / Controller
|
|
|
//
|
|
|
//
|
|
|
// Formbot only supports REPRAP_DISCOUNT_SMART_CONTROLLER
|
|
|
// Formbot only supports REPRAP_DISCOUNT_SMART_CONTROLLER
|
|
|
//
|
|
|
//
|
|
|
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) |
|
|
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) |
|
|
#define LCD_PINS_RS 16 |
|
|
#ifndef BEEPER_PIN |
|
|
#define LCD_PINS_ENABLE 17 |
|
|
#define BEEPER_PIN 37 |
|
|
#define LCD_PINS_D4 23 |
|
|
#endif |
|
|
#define LCD_PINS_D5 25 |
|
|
|
|
|
#define LCD_PINS_D6 27 |
|
|
|
|
|
#define LCD_PINS_D7 29 |
|
|
|
|
|
#define BTN_EN1 31 |
|
|
#define BTN_EN1 31 |
|
|
#define BTN_EN2 33 |
|
|
#define BTN_EN2 33 |
|
|
#define BTN_ENC 35 |
|
|
#define BTN_ENC 35 |
|
|
#define SD_DETECT_PIN 49 |
|
|
#define SD_DETECT_PIN 49 |
|
|
#ifndef ROXYs_TRex |
|
|
#ifndef KILL_PIN |
|
|
#define KILL_PIN 41 |
|
|
#define KILL_PIN 41 |
|
|
#define BEEPER_PIN 37 |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
#define LCD_PINS_RS 16 |
|
|
|
|
|
#define LCD_PINS_ENABLE 17 |
|
|
|
|
|
#define LCD_PINS_D4 23 |
|
|
|
|
|
#define LCD_PINS_D5 25 |
|
|
|
|
|
#define LCD_PINS_D6 27 |
|
|
|
|
|
#define LCD_PINS_D7 29 |
|
|
#endif |
|
|
#endif |
|
|