Kevin O'Connor
e4d52a19b8
stepcompress: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 14:20:15 -05:00
Kevin O'Connor
2d99a1e802
buttons: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:34:22 -05:00
Kevin O'Connor
ef1bf60ab7
hd44780: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:31:47 -05:00
Kevin O'Connor
51051478af
st7920: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:31:31 -05:00
Kevin O'Connor
d6d23c8415
thermistor: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:29:41 -05:00
Kevin O'Connor
9f1d9bf0f4
probe: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:28:55 -05:00
Kevin O'Connor
ea1814e017
Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:27:52 -05:00
Kevin O'Connor
e504147285
font8x14: Store font as strings instead of as bytearray
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:26:59 -05:00
Kevin O'Connor
af882ee0fe
chelper: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:20:57 -05:00
Kevin O'Connor
9d8c7ddc1e
pins: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:19:42 -05:00
Kevin O'Connor
9be6cf226b
klippy: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:18:43 -05:00
Kevin O'Connor
21e45cac64
spi_temperature: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:14:23 -05:00
Kevin O'Connor
ee1236805e
toolhead: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:11:12 -05:00
Kevin O'Connor
b934313c3d
heater: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:09:24 -05:00
Kevin O'Connor
d7e8264d92
extruder: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:07:41 -05:00
Kevin O'Connor
118b7593a6
msgproto: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:06:15 -05:00
Kevin O'Connor
45203070ed
util: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:05:37 -05:00
Kevin O'Connor
e7eb745d99
mathutil: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:04:56 -05:00
Kevin O'Connor
5bbae0710a
gcode: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:04:19 -05:00
Kevin O'Connor
65d6253fb8
clocksync: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:01:52 -05:00
Kevin O'Connor
e5e079faf2
console: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:00:30 -05:00
Kevin O'Connor
dddfb681c7
pins: Add support for pull down resistors
...
Add initial support for selecting pull down resistors (for
micro-controllers that support it).
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 11:13:21 -05:00
Douglas Hammond
b6589406d4
temperature_sensor: Add generic temperature sensor support
...
Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-26 13:15:56 -05:00
Douglas Hammond
f9968904d6
temperature_fan: Remove stats as it now supports gcode reports
...
Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
2019-02-26 12:07:00 -05:00
Douglas Hammond
3887ad4fce
heater: Support generic gcode_id registration for sensors
...
Support reading a "gcode_id" parameter from heater/sensor config
sections.
Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-26 12:07:00 -05:00
Kevin O'Connor
34209e6189
heater_bed: Wrap lines to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-26 11:20:01 -05:00
Kevin O'Connor
adf6040e9e
gcode: Use an event to handle restart request actions
...
Instead of directly turning off motors, heaters, and fans from
gcode.py, raise a new event and allow the heater, fan, and toolhead to
handle the event as needed.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-25 21:26:27 -05:00
Kevin O'Connor
ff9605c082
gcode: The set_temp() takes an extruder number not a heater id
...
Commit cf6c5e6f
did not fix the shared heater case - a set_temp()
request takes the extruder id, not the heater id (nor the gcode sensor
id).
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-25 21:04:02 -05:00
Kevin O'Connor
c54c81dc2a
heater: Return heaters with a gcode_id from new get_gcode_sensors()
...
The gcode.py code should not peek into the heater classes to obtain
the gcode_id. Instead, introduce a new get_gcode_sensors() so that
the gcode.py code does not need to.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-25 20:34:26 -05:00
Kevin O'Connor
bb4fab5570
heater: Rename add_sensor() to add_sensor_factory()
...
Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-25 20:34:12 -05:00
Kevin O'Connor
cf6c5e6f18
gcode: A set temperature request should use the heater name, not the gcode id
...
When setting a temperature, lookup the heater via
self.heaters.lookup_heater() and do not use the gcode ids. This fixes
temperature setting when multiple extruders share the same heater.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-25 20:32:30 -05:00
Kevin O'Connor
13b2e091b8
gcode: Rename self.heater to self.heaters
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-25 20:04:05 -05:00
Arksine
f7d8854587
bed_mesh: simplify configuration
...
The 'bed_shape' option has been removed. The user will enter a 'bed_radius' if they have a round be, otherwise they should enter 'min_point' and 'max_point'. When the bed is round the user should supply a 'round_probe_count' option, otherwise just 'probe_count'.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2019-02-25 13:34:14 -05:00
Arksine
7694c3e1b8
bed_mesh: fix get_position()
...
Fix a bug where the fade factor is calculated incorrectly when get_position() is called.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2019-02-25 13:34:14 -05:00
Arksine
f308171be4
bed_mesh: refactor fade_target
...
Offset the entire mesh by the fade target amount rather than offset each z lookup.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2019-02-25 13:34:14 -05:00
Rui Caridade
749beb731c
probe: Set z min value in probe_accuracy to z_offset. ( #1314 )
...
Signed-off-by: Rui Caridade <rui.mcbc@gmail.com>
2019-02-25 12:52:54 -05:00
Kevin O'Connor
80c8bd8b4d
bed_screws: Add a helper tool for leveling bed screws
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-24 00:49:47 -05:00
Kevin O'Connor
5bc47d9416
tmc2130: Use FieldHelper() to set/get driver fields
...
Use the field helper to simplify the bit manipulation in the driver.
This also enables the extended DUMP_TMC output.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-21 11:35:58 -05:00
Kevin O'Connor
b260eb9168
gcode: Raise a config error on invalid register_command()
...
Raise a printer.config_error() on an invalid register_command() call.
This error is easier to handle for the vast majority of callers.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-18 18:04:42 -05:00
Rui Caridade
276d5a1436
probe: Add PROBE_ACCURACY command
...
Implementation of "PROBE_ACCURACY" to measure the maximum, minimum,
average and standard deviation of a probe.
Signed-off-by: Rui Caridade <rui.mcbc@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-18 00:36:28 -05:00
Kevin O'Connor
cc4ecef88b
mcp4018: Add initial support for the mcp4018 digipot
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-16 08:16:37 -05:00
nopbit
0f674ef407
tsl1401cl_filament_width_sensor: Filament Width Sensor Support ( #1132 )
...
Support added for filament diameter sensor. Sample configuration parameters added to example-extras.cfg.
Signed-off-by: Mustafa YILDIZ <mydiz@hotmail.com>
2019-02-14 10:13:48 -05:00
KevinOConnor
c6d1d1bd8c
Merge pull request #1242 from john--/pr_generic_heater
...
Generic Heater Support
2019-02-14 10:08:26 -05:00
John Jardine
6316b2c1b6
Generic Heater Support
...
Adds the ability to register a custom/generic heater through a new extra called heater_generic.
This takes a gcode_id that is reported by M105. Adds a new command to set the temperature for any heater using the syntax:
SET_HEATER_TEMPERATURE HEATER=<heater_name> TARGET=<target_temp>
Signed-off-by: John Jardine <john@gprime.net>
2019-02-14 01:15:11 +00:00
Kevin O'Connor
98ed462865
spi_software: Implementation of software spi
...
Signed-off-by: Matt Janus <FragginRight@variabl.es>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-13 11:52:20 -05:00
Kevin O'Connor
2d7c3a84ee
manual_stepper: Add an "extras" module for manually controlling a stepper
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-12 13:38:13 -05:00
Kevin O'Connor
b0b9fc6f4a
probe: Use manual_probe helper when performing manual probes
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-12 13:20:32 -05:00
Kevin O'Connor
35ea4a137d
probe: Add PROBE_CALIBRATE command
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-12 13:20:32 -05:00
Kevin O'Connor
d14a53e160
manual_probe: Add a helper script for performing manual Z probing
...
Add MANUAL_PROBE and Z_ENDSTOP_CALIBRATE commands.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-12 13:20:32 -05:00
Kevin O'Connor
59a60d68f5
Revert "serialhdl: Enforce exclusive access on POSIX, this is default behavior on windows. ( #1216 )"
...
This reverts commit fdbbda9484
.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-10 11:57:02 -05:00