|
|
@ -118,7 +118,8 @@
|
|
|
|
// PID settings:
|
|
|
|
// PID settings:
|
|
|
|
// Comment the following line to disable PID and enable bang-bang.
|
|
|
|
// Comment the following line to disable PID and enable bang-bang.
|
|
|
|
#define PIDTEMP
|
|
|
|
#define PIDTEMP
|
|
|
|
#define PID_MAX 256 // limits current to nozzle; 256=full current
|
|
|
|
#define BANG_MAX 256 // limits current to nozzle while in bang-bang mode; 256=full current
|
|
|
|
|
|
|
|
#define PID_MAX 256 // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 256=full current
|
|
|
|
#ifdef PIDTEMP
|
|
|
|
#ifdef PIDTEMP
|
|
|
|
//#define PID_DEBUG // Sends debug data to the serial port.
|
|
|
|
//#define PID_DEBUG // Sends debug data to the serial port.
|
|
|
|
//#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
|
|
|
|
//#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
|
|
|
|