Commit Graph

509 Commits

Author SHA1 Message Date
Michael Moon be81a13584 make sure timer is initialised properly
Reported-by: jv4779 <jv4779@gmail.com>
2011-04-30 11:00:11 +10:00
Michael Moon 143398705c add "functionsbysize" make target 2011-04-29 10:55:42 +10:00
Michael Moon e2cb6aef72 M109 just waits if no temperature provided 2011-04-29 10:15:49 +10:00
Kieran Levin 61ca4c114e fixed temperature reading problem where ReplicatorG would freeze because there is no newline before the temperature prints out... 2011-04-29 10:15:40 +10:00
Michael Moon 74e03b7df1 allow G92 to work again after 0389289 2011-04-26 18:19:00 +10:00
Michael Moon 03892894ed remove ACCELERATION_TEMPORAL, update current_position from main loop instead of step interrupt 2011-04-26 14:45:32 +10:00
Michael Moon e108ab2548 M114 returns millimeters instead of steps 2011-04-26 14:44:17 +10:00
Markus Hitter ee481864fa gcode_parse.c: get rid of the denominator variable in decfloat_to_int().
This allows for better optimisation and saves 100 bytes binary size
accordingly. For denominator = 1, the algorithm is also significantly
simpler.
2011-04-15 02:12:13 +02:00
Markus Hitter 6896aa5236 gcode_parse.c: join the upper and the lower formula in decfloat_to_int().
This also makes rounding more accurate with exponent > 0.
Saves another 40 bytes binary size.
2011-04-15 02:12:10 +02:00
Markus Hitter 8cf8a8a44a gcode_parse.c: get rid of rounding[].
This saves 8 bytes of flash and, more important, 16 bytes of RAM.
2011-04-15 02:12:07 +02:00
Markus Hitter f41dd9c098 gcode_parse.c: make all usages of decfloat_to_int()...
... to divide either by 1 or 1000. Accordingly, a flag
can be used instead of the actual value, shrinking code
size by 70 bytes.
2011-04-15 02:12:02 +02:00
Markus Amsler 26b9a7df54 extruder: Add dummy temp sensor so analog_mask includes trim pot. 2011-04-12 20:38:28 +02:00
Markus Amsler 15f835320f Update config.gen3.h to support a heated bed over intercom. 2011-04-12 20:12:20 +02:00
Markus Amsler e937b052af Add support for multiple thermistor tables.
DEFINE_TEMP_SENSOR takes one additional argument. For TT_THERMISOR you can specify there which thermistor table to use.
2011-04-12 20:00:18 +02:00
Markus Amsler 8856dd9908 Only print queue on every G command if DEBUG_POSITION is set. 2011-04-12 01:37:11 +02:00
Markus Amsler 4b7f8fba48 Fix absolute E positioning.
Now also works with M101/M103
2011-04-12 01:36:57 +02:00
Markus Amsler 1d556e0278 Use HEATER_BED everywhere.
For intercom heated bed it may be different from HEATER_bed.
2011-04-11 22:41:50 +02:00
Michael Moon c54c964fc0 initialise heaters on timers 3/4/5 2011-04-11 11:22:09 +10:00
Markus Hitter 15ed65dbad No SEARCH_FEEDRATE_E, as E can't be searched. 2011-04-10 15:56:07 +02:00
Michael Moon ae33cb7fa2 start implementing absolute E support 2011-04-09 09:16:05 +10:00
Michael Moon b37a5d435e home Z to max if possible by default 2011-04-09 09:15:48 +10:00
Michael Moon f4e4788892 wait for queue to empty before homing 2011-04-09 09:15:22 +10:00
Markus Amsler d97a4519d3 extruder: Get rid of _CONFIG_H, like on the mainboard config. 2011-04-07 03:29:17 +02:00
Markus Amsler ad7f7f0e96 Don't set all axis to home on G92 E0 2011-04-07 03:15:47 +02:00
Markus Amsler 0a92c13051 extruder: sync heater.c 2011-04-05 02:14:34 +02:00
Markus Amsler 57a75ecbfb temp: TEMP_RESIDENCY_TIME is in seconds not in temp_ticks (=10ms) 2011-04-04 09:21:32 +10:00
Michael Moon 95e7cda9db avoid warning: 'SpecialMoveE' defined but not used 2011-04-04 09:16:52 +10:00
Markus Amsler be18eb90b8 Convert TEMP_HYSTERESIS to Celsius. 2011-04-04 09:12:54 +10:00
Markus Amsler 093d20481e heater: fix residency compare.
labs requires a signed int.
2011-04-04 09:12:54 +10:00
Markus Amsler 9860d2850f heater: only reset residency if temp really changed
Skeinforge generates sometimes multiple calls to M104/M140, which would add a slow delay on the next M101.
2011-04-04 09:12:53 +10:00
Markus Amsler 3a271ee487 intercom: make sure extruder switches to listen mode 2011-04-04 09:12:53 +10:00
Markus Amsler 5656c5050c Implement M116 - Wait 2011-04-04 09:12:53 +10:00
Michael Moon dba60ba1eb fix error: lvalue required as unary '&' operand when heater pin is not a PWMable pin. 2011-04-04 09:10:25 +10:00
Andy Kirby a35c304762 add encoding to createTemperatureLookup.py
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
2011-03-30 12:18:42 +11:00
Michael Moon 66415078e5 update extruder to match simplified heater 2011-03-28 21:54:58 +11: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 100b7c6c4a only check intercom every 250ms as we don't send packets more often 2011-03-27 19:34:16 +11:00
Michael Moon e1ebf74ba0 more gen3 updates courtesy of sliptonic via IRC 2011-03-24 11:48:54 +11:00
Michael Moon d7f5c08174 all defines live in config.h now, remove from Makefile 2011-03-24 11:26:11 +11:00
Michael Moon 918e3be84c include thermistor tables, most users seem to have similar thermistors so we can safely provide a default 2011-03-24 11:06:04 +11:00
Michael Moon 0ddb40a844 IDE apparently takes issue with Extruder.pde in extruder directory, altered capitalisation 2011-03-24 10:58:51 +11:00
Michael Moon 081b693341 extruder doesn't use serial.c, update watchdog.c to suit 2011-03-24 10:51:57 +11:00
Michael Moon 196caff134 Extruder: GEN3 and EXTRUDER defined in config, not Makefile 2011-03-24 10:31:33 +11:00
Michael Moon 0dc7d77885 Massive Doxygen documentation addition
'make doc' then point your browser at doc/html/

Needs plenty of cleanup and polishing, but the main bulk is here

even documents your configuration! ;)
2011-03-22 01:34:36 +11:00
Markus Hitter b03dd87665 config.h.dist: remove the Gen3 sample pinout.
As we have a config.gen3.h now, this is obsolete.
2011-03-20 16:09:21 +01:00
Markus Hitter 8b78c2a498 Make baud rate user-configurable. 2011-03-20 15:47:15 +01:00
Markus Hitter 1214646ca8 mendel.c: Repsnapper expects a lowercase "start". 2011-03-20 02:09:16 +01:00
Markus Hitter f9842d1d90 extruder/config.h.dist: add fallbacks for non-Makefile compilation. 2011-03-19 22:15:22 +01:00
Michael Moon 6e9dd81fb7 func.sh: add variable for serial device 2011-03-17 20:38:30 +11:00
Markus Hitter 851a91306a timer.c: don't reset next_step_time when doing a step.
Doing so adds most of the interrupt execution time to the
step time, see line 126 of the same file:

    if (next_step_time == 0) {
      // new move, take current time as start value
      step_start = TCNT1;
    }
2011-03-14 17:34:26 +01:00