e541466591
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> |
||
---|---|---|
config | ||
docs | ||
klippy | ||
lib | ||
scripts | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
COPYING | ||
Makefile | ||
README.md |
README.md
Welcome to the Klipper project!
This project implements a 3d-printer firmware. There are two parts to this firmware - code that runs on a micro-controller and code that runs on a host machine. The host software does the work to build a schedule of events, while the micro-controller software does the work to execute the provided schedule at the specified times.
See the features document to find out why you should use Klipper. To begin using Klipper start by installing it.
There is also developer documentation available.
License
Klipper is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Klipper is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Klipper. If not, see http://www.gnu.org/licenses/.