Marlin v 1.0.0
//===========================================================================
//=============================public variables============================
//===========================================================================
int target_temperature[EXTRUDERS] = { 0 };
int target_temperature_bed = 0;
int current_temperature_raw[EXTRUDERS] = { 0 };
int current_temperature_bed_raw = 0;
float current_temperature[EXTRUDERS] = { 0 };
float current_temperature_bed = 0;
#ifdef PIDTEMP
float Kp = DEFAULT_Kp;
float Ki = (DEFAULT_Ki * PID_dT);
float Kd = (DEFAULT_Kd / PID_dT);
#ifdef PID_ADD_EXTRUSION_RATE
float Kc = DEFAULT_Kc;
#endif
#endif //PIDTEMP
#ifdef PIDTEMPBED
float bedKp = DEFAULT_bedKp;
float bedKi = (DEFAULT_bedKi * PID_dT);
float bedKd = (DEFAULT_bedKd / PID_dT);
#endif //PIDTEMPBED
エクストルーダのヒーターパワー値またはベッドのパワー値を返す。
エクストルーダ及びベッドの現状温度をカレント値として取り込む。
各エクストルーダ及びベッドの設定温度を0に設定し、ターゲット温度も0に設定する。
該当エクストルーダのヒーターの温度がMaxである事をエラー表示する。
該当エクストルーダのヒーターの温度がMinである事をエラー表示する。
ベッドの温度がMaxである事をエラー表示する。
max6675_tempの値を返す。
割り込みベクター登録
引数にPID_dTを掛けた値を返す。
引数をPID_dTで割った値を返す。
引数をPID_dTで割った値を返す。
引数にPID_dTを掛けた値を返す。