klipper-dgus/config
Jiri Dobry e541466591 servo: This patch create ability to enable/disable attached servo. (#880)
Cheap mechanical servos have small flickering. When this servo stay on one position, this flickering slowly destroy internal potentiometer and make servo unusable. Many mechanisms need servo only to change position. Therefore I create this minor path to enable/disable servo. It stop pulses for this servo, that's all.

Corresponding G-code is:
SET_SERVO SERVO=config_name [WIDTH=] [ENABLE=<0|1>]
SET_SERVO SERVO=config_name [ANGLE=] [ENABLE=<0|1>]

For example:
SET_SERVO SERVO=touch ANGLE=80 ENABLE=1 ; enable servo and set position
G4 P200 ; wait 200ms
SET_SERVO SERVO=touch ENABLE=0 ; disable servo

This patch add one option to servo configuration:
enable: <False/True> # default True

It not have impact to user code existing already because it is optional parameter and default value is same as original behavior.

Signed-off-by: Jiri Dobry <jdobry@centrum.cz>
2018-11-14 09:38:09 -05:00
..
avrsim.cfg config: Update avrsim.cfg to use unique pins 2018-01-12 16:44:21 -05:00
example-corexy.cfg config: Use .0025 as the default z step_distance in sample configs 2018-02-25 16:00:55 -05:00
example-delta.cfg config: The delta_calibrate bed radius uses nozzle coordinates 2018-10-01 11:12:30 -04:00
example-extras.cfg servo: This patch create ability to enable/disable attached servo. (#880) 2018-11-14 09:38:09 -05:00
example-menu.cfg menu: new fast step rate feature 2018-09-21 19:29:30 -04:00
example-multi-mcu.cfg docs: Update documentation to note use of /dev/serial/by-path/ 2018-06-01 17:22:03 -04:00
example.cfg extruder: Don't use max_extrude_cross_section in max_extrude_only defaults 2018-10-25 19:09:47 -04:00
generic-cramps.cfg pru: Disable ADC reading directly from the PRU 2018-06-27 12:10:25 -04:00
generic-duet2.cfg config: Add generic duet2 config and tests (#834) 2018-10-31 09:58:43 -04:00
generic-einsy-rambo.cfg tmc2130: Initial support for sensorless homing 2018-05-25 11:38:23 -04:00
generic-melzi.cfg config: Use consistent advice on flashing the Melzi board 2018-11-13 14:32:52 -05:00
generic-mini-rambo.cfg config: Use fastest PWM time in mini-rambo PWM DAC config 2018-09-11 09:40:48 -04:00
generic-printrboard.cfg avr: Use generic usb_cdc code for usb serial support 2018-09-30 22:55:21 -04:00
generic-radds.cfg config: Add example generic-radds.cfg config file 2018-05-10 11:40:09 -04:00
generic-rambo.cfg config: Fix hd44780 typo in rambo and ramps example configs 2018-03-06 13:15:09 -05:00
generic-ramps.cfg config: Add encoder buttons to generic-ramps.cfg 2018-08-26 23:08:27 -04:00
generic-re-arm.cfg config: Fix generic-re-arm.cfg encoder pins 2018-09-12 14:43:10 -04:00
generic-replicape.cfg replicape: Add config controls for the servo[01]_enable lines 2018-03-17 12:55:48 -04:00
generic-rumba.cfg config: Add lcd encoder pins to generic-rumba.cfg 2018-10-28 14:34:22 -04:00
generic-smoothieboard.cfg config: Add example lcd section to smoothieboard config 2018-09-10 15:29:54 -04:00
kit-voron2-2018.cfg idle_timeout: Move timeout handling from toolhead.py to new extras module 2018-07-16 10:32:48 -04:00
printer-adimlab-2018.cfg config: ADIMlab Add support for LCD knob and caselight 2018-10-19 11:10:32 -04:00
printer-anet-a8-2017.cfg config: add display support for Anet A8 2018-04-09 16:24:14 -04:00
printer-anet-e10-2018.cfg config: anet e10 update 2018-06-19 11:36:52 -04:00
printer-anycubic-i3-mega-2017.cfg config: Add a "printer-" prefix to example printer config files 2018-02-11 14:58:48 -05:00
printer-anycubic-kossel-2016.cfg config: Add display buttons pins for anycubic kossel pulley 2016 (#614) 2018-09-06 18:31:55 -04:00
printer-anycubic-kossel-plus-2017.cfg config: Add encoder pins to printer-anycubic-kossel-plus-2017.cfg 2018-10-25 21:34:49 -04:00
printer-creality-cr10-2017.cfg config: Use consistent advice on flashing the Melzi board 2018-11-13 14:32:52 -05:00
printer-creality-cr10mini-2017.cfg config: Use consistent advice on flashing the Melzi board 2018-11-13 14:32:52 -05:00
printer-creality-cr10s-2017.cfg config: Add display buttons to printer-creality-cr10s-2017.cfg 2018-10-20 19:27:53 -04:00
printer-creality-ender2-2017.cfg config: Use consistent advice on flashing the Melzi board 2018-11-13 14:32:52 -05:00
printer-creality-ender3-2018.cfg config: Use consistent advice on flashing the Melzi board 2018-11-13 14:32:52 -05:00
printer-lulzbot-taz6-2017.cfg display: Add initial support for LCD screens attached to an MCU 2018-03-06 11:30:46 -05:00
printer-makergear-m2-2012.cfg endstop_phase: Move endstop phase homing code to new "extras" module 2018-10-16 13:09:23 -04:00
printer-seemecnc-rostock-max-v2-2015.cfg config: Add a "printer-" prefix to example printer config files 2018-02-11 14:58:48 -05:00
printer-tronxy-x5s-2018.cfg config: Use consistent advice on flashing the Melzi board 2018-11-13 14:32:52 -05:00
printer-tronxy-x8-2018.cfg Add Printer Configuration File for the Tronxy X8 2018-07-10 11:59:07 -04:00
printer-velleman-k8200-2013.cfg config: Add printer-velleman-k8200-2013.cfg example config 2018-11-13 10:46:57 -05:00
printer-wanhao-duplicator-6-2016.cfg config: Wanhao Duplicator 6 likely does not need "restart: command" 2018-09-25 14:29:05 -04:00
printer-wanhao-duplicator-i3-plus-2017.cfg config: Use .0025 as the default z step_distance in sample configs 2018-02-25 16:00:55 -05:00
printer-wanhao-duplicator-i3-v2.1-2017.cfg config: Use consistent advice on flashing the Melzi board 2018-11-13 14:32:52 -05:00
sample-bltouch.cfg probe: Infer position_endstop when using probe:z_virtual_offset 2018-10-01 11:12:30 -04:00
sample-macros.cfg config: sample-macros.cfg creation and M300 2018-11-13 12:42:10 -05:00