Scott Lahteine
f65833931d
Formatting tweaks
9 years ago
Scott Lahteine
d693e0f378
Use WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1 as difference limit
9 years ago
Scott Lahteine
6697a8f375
Watch the heater a little longer
9 years ago
Scott Lahteine
5693a6e3c9
Fix heating error message
9 years ago
Scott Lahteine
8332a15899
Fix testing of runaway options in temperature.cpp
9 years ago
Scott Lahteine
2445ae3d3a
Combine thermal runaway and watch-period
- Make thermal protection for all hotends and/or bed into simple
switches
- Now enable `WATCH_TEMP_PERIOD` when `THERMAL_PROTECTION_HOTENDS` is
enabled
- Move detailed thermal parameters to `Configuration_adv.h`
- Add sanity checks to warn about old configurations
- Change `WATCH_TEMP_PERIOD` to seconds instead of milliseconds
9 years ago
Scott Lahteine
9b3d4380d3
Only watch the heater that was set
9 years ago
Scott Lahteine
28c87ec81b
Disable all heaters on temp error
9 years ago
Scott Lahteine
54deb9eea3
Enable WATCH_TEMP_PERIOD by default
9 years ago
Scott Lahteine
deedb00c18
Document WATCH_TEMP_PERIOD
9 years ago
Scott Lahteine
ae53b3cdc3
Fix the M303 S-1 report text
9 years ago
Scott Lahteine
0fca084ea6
Make EEPROM reproducible in GCode
With these changes the output of `M503 S0` is all you need to restore
the EEPROM. Building on this it is straightforward to save and restore
the EEPROM state using the SD card or external GCode file.
- Added `M145` to set “heatup states” for the LCD menu
- Added `M420` to toggle Mesh Bed Leveling
- Added `M421` to set a single Mesh coordinate
- Extended `Config_PrintSettings` with added M codes
- Cleaned up some comments here and there
9 years ago
paclema
581685a231
Added new PID autotune info, to make easy copy & paste results to marlin
9 years ago
Scott Lahteine
09d60e0128
Naming and code comments
9 years ago
Scott Lahteine
257a907456
Fix typo in next_bed_check_ms
9 years ago
Scott Lahteine
e4b1e8651b
next_ vars faster than previous_
- Change some `previous_` time vars to `next_` so an add only happens
at intervals
- Fix `HEATER_0_USES_MAX6675` polling too frequently, or not at all
9 years ago
Scott Lahteine
ccddc280be
Apply three more commits
9 years ago
Scott Lahteine
27cb90da8b
IsStopped / IsRunning inline
9 years ago
Scott Lahteine
e502144eda
Fixup formatting of last commit
9 years ago
Richard Miles
1a5293c2ce
Prevents MINTEMP / MAXTEMP when no heaters present
This commit checks whether or not HEATER_0 is in use, and if not, skips
the MIN / MAX temperature checks.
9 years ago
Scott Lahteine
b0f198c153
heater_index above its use
9 years ago
Scott Lahteine
60f8e0386f
More thermal runaway states
9 years ago
Scott Lahteine
f9dbd73652
Fix tr_target_temperature type - float!
9 years ago
Natealus
a6ba40ae48
Compiling error temperature.cpp with multiple extruders defined
It wouldn't compile because of this line in temperature.cpp it turns out
it was just a stray ( that didn't line up with the previous lines so I
just made it in line with the rest and it compiled fine.
9 years ago
Scott Lahteine
fc3c76fc16
Fix #1800
9 years ago
Scott Lahteine
9ba55baa5b
Track target temperature separately for each heater
9 years ago
Scott Lahteine
528e32a1d4
Fix timeout in thermal_runaway when temperature is set higher
9 years ago
Scott Lahteine
b98ebd517e
disable / enable_all_steppers functions
9 years ago
Scott Lahteine
c756b4cf07
Comment tweak
9 years ago
Scott Lahteine
e96df67630
Clarify thermal_runaway_protection
- Add comments documenting `thermal_runaway_protection`
- Add an enum for the thermal runaway states
- Add macros for temperature helper functions
- Fix a glitch with the z probe sled in homeaxis
9 years ago
AnHardt
488666832b
Remove the previously introduced ()
9 years ago
AnHardt
3f2e863206
Improve conditions for HAS_TEMP
and use them in temperuture.h
Flattened the if structure - the preprocessor is doing the work - not the Arduino. Arduino.
9 years ago
AnHardt
85f8a26ba4
Fix MIN&MAX temperatures again
replaced GE0 with th matching GEX in the second row.
added some ()
9 years ago
Scott Lahteine
571652c49b
Fix LCD click
- Make the default LCD click sound more pleasant
- Fix warnings about bed temperature runaway
9 years ago
AnHardt
7b2550a604
Times can't be negative.
cardreader.cpp needs temperature.h for autotempShutdown() when
AUTOTEMP is defined but warns about unused variables.
Unpublished variables by putting them in to temperature.cpp.
9 years ago
Scott Lahteine
ba871e46bf
Fix compiler warnings
- Patched up for most included configurations
9 years ago
Scott Lahteine
df02b992b0
Fix redundant_temperatrure_raw setting
9 years ago
Scott Lahteine
ce485175eb
Give all temp arrays 4 indices
9 years ago
Scott Lahteine
267d6bef15
Eliminate most warnings
- Fix a bug reading `code_value` for `M503 Sn`
- Hide and remove unused variables
9 years ago
Scott Lahteine
410f64782a
Always 4 temp sensors
9 years ago
Scott Lahteine
53169d96e8
Set temp_meas_ready in set_current_temp_raw
9 years ago
AnHardt
f680e509c4
Enclosed error-messages for TEMP_SENSOR_1_AS_REDUNDANT in PSTR()
9 years ago
AnHardt
ac81b4084f
Make variables and function static.
9 years ago
AnHardt
01cc97a3c3
Corected condition for PIDdT
9 years ago
AnHardt
94330705c7
Move definition of PIDdT back to temperature.h
make it unconditional
remove all definitions in the 'Configuration.h's
remove form 'Conditionals.h'
9 years ago
AnHardt
dd0067afa6
Fix MAX6675 again and introduce set_current_temp_raw()
to make the temperature-code work again with Arduino 1.0.6.
Sorry could not make an extra block on base level.
9 years ago
Scott Lahteine
fc53e43de6
Don't test raw temp for MAX6675
- Remove test of raw temp for thermistor 0 when using MAX6675
- Longer `raw_temp_value` array for `TEMP_SENSOR_1_AS_REDUNDANT`
9 years ago
Scott Lahteine
1fac388664
Revert measurement loop
9 years ago
Scott Lahteine
6bdee87be3
Cleanup temperature code
- Get rid of unused temp states in the ISR, resulting in more frequent
temperature reading with fewer sensors
- Shrink code slightly in min/max testing
9 years ago
Scott Lahteine
3703694e30
Fix temperature min/max test
- Base tests on all thermistors/thermocouples, not just heater 0
9 years ago