|
Prusa i3: no homing after activation of second fan January 15, 2015 07:57AM |
Registered: 11 years ago Posts: 4 |
for(int8_t i=0; i < NUM_AXIS; i++) {
destination = current_position;
}
//beginning of insertion
#if FAN2_PIN > -1
case 806: //M806 Fan2 On
if (code_seen('S')){
analogWrite(6, constrain(code_value(),0,255));} //D6 is fan2_pin as in pins.h
else {
analogWrite(6, 255);}
break;
case 807: //M807 Fan2 Off
analogWrite(6, 0);
break;
#endif //FAN2_PIN
//end of insertion
feedrate = 0.0;
#ifdef DELTA
|
Re: Prusa i3: no homing after activation of second fan January 19, 2015 05:28AM |
Registered: 11 years ago Posts: 4 |