Commit Graph

20 Commits

Author SHA1 Message Date
Markus Hitter f9a4495aa1 Introduce TEMP_NONE, a "sensor" just storing the target temperature.
This is useful when operation a milling spindle. In this case,
set the spindle speed with M104 Sxxx, where xxx is 1..255.
M104 S0 turns the spindle off.
2011-09-01 19:03:33 +02:00
Markus Amsler d97a4519d3 extruder: Get rid of _CONFIG_H, like on the mainboard config. 2011-04-07 03:29:17 +02:00
Michael Moon 3c3624542f simplify heater configuration by using arduino_*.h more effectively with DEFINE_HEATER macro 2011-03-28 18:45:28 +11:00
Michael Moon d0601716e8 reorganise intercom to send packets from extruder main loop, also generalise protocol as discussed in forum 2011-03-05 13:38:12 +11:00
Michael Moon 31634c6a8f Add M136 (DEBUG) to read back PID values, add heater_print function 2011-02-20 17:30:07 +11:00
Michael Moon 71eafbf96b keep power on when heaters are active
Reported-by: Jacky2K@forums.reprap.org
2011-02-09 08:16:15 +11:00
Michael Moon 553f3a50a6 some config templates, also bang-bang heater support to reduce code size 2011-02-07 20:48:57 +11:00
Michael Moon 1c723f7656 remove definition macros, doesn't work 2011-02-06 21:11:39 +11:00
Michael Moon d1b2754aba sorting out preprocessor interactions 2011-02-06 21:11:39 +11:00
Michael Moon 97f344f0fa changes discussed in chat on pull 19 2011-02-06 21:11:39 +11:00
Stephan Walter fcaa76d3c0 Simpler definition of temp sensors and heaters. 2011-02-01 19:40:27 +11:00
Michael Moon 096d7dfdf3 Merge release-candidate-triffid branch 2011-01-07 23:09:13 +11:00
Stephan Walter 3028b297f3 Add simulation code: use "make sim" 2010-10-21 11:05:55 +11:00
Markus Hitter 80d3fc5233 Revert "heater.h: simplify macros.", as there are in fact situations
where this seemingly obsolete code makes sense.

This reverts commit 896f6e140f.
2010-10-08 12:49:02 +02:00
Markus Hitter 90c00d0eff heater.h: remove the temp_achieved() declaration, which has
no definition in heater.c (but is properly coded in temp.h/.c).
2010-10-07 23:43:51 +02:00
Markus Hitter 2391dc2901 If there's no HEATER_PIN, there's no heater, so disable the
heater code. Also remove the temp_achieved() declaration
in heater.h, which has no definition in heater.c.

If you wonder about what might be the use of not having a heater,
think about a paste dispenser or an externally heated extruder :-)

Having no heater removes a whopping 1200 bytes of program size.
2010-10-07 23:43:46 +02:00
Markus Hitter 896f6e140f heater.h: simplify macros. 2010-10-07 23:43:44 +02:00
Markus Hitter 68f4610e79 heater.h/.c: remove a few obsolete #includes. 2010-10-07 23:43:36 +02:00
Markus Hitter 9839ac9fff Move heater macros from config.h to heater.h, as they're
not meant to be user configurable.
2010-10-07 23:43:22 +02:00
Michael Moon 273d63f242 splitting heater stuff out into a separate file 2010-09-12 14:47:49 +10:00