Pins should always be defined (even for disabled features)

master
Scott Lahteine 9 years ago
parent f0b96f5cae
commit 7f81aa7ff3

@ -74,10 +74,7 @@
#endif #endif
#endif // VIKI2/miniVIKI #endif // VIKI2/miniVIKI
#if ENABLED(FILAMENT_SENSOR) #define FILWIDTH_PIN 3 // ANALOG NUMBERING
//Filip added pin for Filament sensor analog input
#define FILWIDTH_PIN 3
#endif
/************************************************ /************************************************
* Rambo pin assignments old * Rambo pin assignments old

@ -79,9 +79,7 @@
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering #define TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
#if ENABLED(FILAMENT_SENSOR) #define FILWIDTH_PIN 2 // ANALOG NUMBERING
#define FILWIDTH_PIN 2
#endif
#define TEMP_1_PIN -1 #define TEMP_1_PIN -1
#define TEMP_2_PIN -1 #define TEMP_2_PIN -1

@ -73,9 +73,7 @@
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering #define TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
#if ENABLED(FILAMENT_SENSOR) #define FILWIDTH_PIN 2 // ANALOG NUMBERING
#define FILWIDTH_PIN 2
#endif
#define TEMP_1_PIN -1 #define TEMP_1_PIN -1
#define TEMP_2_PIN -1 #define TEMP_2_PIN -1

@ -112,6 +112,8 @@
#define LED_PIN 13 #define LED_PIN 13
#define FAN_PIN 8 #define FAN_PIN 8
#define FILWIDTH_PIN 3 // ANALOG NUMBERING
/********************************************************** /**********************************************************
Fan Pins Fan Pins
Fan_0 8 Fan_0 8
@ -201,7 +203,3 @@
#endif #endif
#endif // VIKI2/miniVIKI #endif // VIKI2/miniVIKI
#if ENABLED(FILAMENT_SENSOR)
//Filip added pin for Filament sensor analog input
#define FILWIDTH_PIN 3
#endif

@ -91,11 +91,8 @@
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#if ENABLED(FILAMENT_SENSOR) // FMM added for Filament Extruder
// define analog pin for the filament width sensor input
// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
#define FILWIDTH_PIN 5 #define FILWIDTH_PIN 5 // ANALOG NUMBERING
#endif
#if ENABLED(Z_MIN_PROBE_ENDSTOP) #if ENABLED(Z_MIN_PROBE_ENDSTOP)
// Define a pin to use as the signal pin on Arduino for the Z_PROBE endstop. // Define a pin to use as the signal pin on Arduino for the Z_PROBE endstop.

Loading…
Cancel
Save