Set default Raptor runout/caselight pins

This commit is contained in:
Scott Lahteine 2019-04-08 18:15:12 -05:00
parent 5e38d70697
commit 0e3c9e726d
3 changed files with 10 additions and 4 deletions

View file

@ -149,6 +149,10 @@
#define FAN_PIN 9 #define FAN_PIN 9
#endif #endif
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 57
#endif
#if !HAS_FILAMENT_SENSOR #if !HAS_FILAMENT_SENSOR
#define FAN1_PIN 4 #define FAN1_PIN 4
#endif #endif
@ -169,6 +173,8 @@
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#endif #endif
#define CASE_LIGHT_PIN 5
// //
// LCD / Controller // LCD / Controller
// //

View file

@ -29,12 +29,12 @@
#define FAN_PIN 6 #define FAN_PIN 6
#include "pins_FORMBOT_RAPTOR.h"
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 22 #define FIL_RUNOUT_PIN 22
#endif #endif
#include "pins_FORMBOT_RAPTOR.h"
#define GREEDY_PANEL ANY(PANEL_ONE, VIKI2, miniVIKI, MINIPANEL, REPRAPWORLD_KEYPAD) #define GREEDY_PANEL ANY(PANEL_ONE, VIKI2, miniVIKI, MINIPANEL, REPRAPWORLD_KEYPAD)
// //

View file

@ -308,11 +308,11 @@
*/ */
#define CASE_LIGHT_ENABLE #define CASE_LIGHT_ENABLE
#if ENABLED(CASE_LIGHT_ENABLE) #if ENABLED(CASE_LIGHT_ENABLE)
#define CASE_LIGHT_PIN 5 //#define CASE_LIGHT_PIN 4 // Override the default pin if needed
#define INVERT_CASE_LIGHT false // Set true if Case Light is ON when pin is LOW #define INVERT_CASE_LIGHT false // Set true if Case Light is ON when pin is LOW
#define CASE_LIGHT_DEFAULT_ON true // Set default power-up state on #define CASE_LIGHT_DEFAULT_ON true // Set default power-up state on
#define CASE_LIGHT_DEFAULT_BRIGHTNESS 255 // Set default power-up brightness (0-255, requires PWM pin) #define CASE_LIGHT_DEFAULT_BRIGHTNESS 255 // Set default power-up brightness (0-255, requires PWM pin)
#define MENU_ITEM_CASE_LIGHT // Add a Case Light option to the LCD main menu #define MENU_ITEM_CASE_LIGHT // Add a Case Light option to the LCD main menu
//#define CASE_LIGHT_USE_NEOPIXEL // Use Neopixel LED as case light, requires NEOPIXEL_LED. //#define CASE_LIGHT_USE_NEOPIXEL // Use Neopixel LED as case light, requires NEOPIXEL_LED.
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL) #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White } #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }