Skip to content

Commit

Permalink
Enable cooling fan to be controlled by gcode
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeosbn committed Aug 19, 2015
1 parent 7dc767d commit 0b67426
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
// extruder temperature is above/below EXTRUDER_AUTO_FAN_TEMPERATURE.
// Multiple extruders can be assigned to the same pin in which case
// the fan will turn on when any selected extruder is above the threshold.
#define EXTRUDER_0_AUTO_FAN_PIN 9
#define EXTRUDER_0_AUTO_FAN_PIN -1
#define EXTRUDER_1_AUTO_FAN_PIN -1
#define EXTRUDER_2_AUTO_FAN_PIN -1
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
#define EXTRUDER_AUTO_FAN_SPEED 125 // == full speed
#define EXTRUDER_AUTO_FAN_TEMPERATURE -1
#define EXTRUDER_AUTO_FAN_SPEED 128 // 255 == full speed


//===========================================================================
Expand Down
2 changes: 1 addition & 1 deletion Marlin_v1 - Swindon Hackspace - Prusa Mendel/Marlin/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@
#else // RAMPS_V_1_1 or RAMPS_V_1_2
#define HEATER_0_PIN 10 // RAMPS 1.1
#define HEATER_BED_PIN 8 // RAMPS 1.1
#define FAN_PIN -1 // RAMPS 1.1
#define FAN_PIN 9 // RAMPS 1.1
#endif
#define HEATER_1_PIN -1
#define HEATER_2_PIN -1
Expand Down

0 comments on commit 0b67426

Please sign in to comment.