AnHardt
8504992e9f
Remove the additional pin variable in Servo.cpp
as sugested by @c-born
inhttps://github.com/MarlinFirmware/Marlin/issues/1885#issuecomment -92618240
преди 9 години
Scott Lahteine
391386dd94
Update configs for new servo deactivation
преди 9 години
AnHardt
2ddb2a2be9
Add Servo::move() to servo.cpp
move(pin, angel) - Sequence of attach(pin), write(angel),
if DEACTIVATE_SERVOS_AFTER_MOVE is defined waits SERVO_DEACTIVATION_DELAY, than detaches.
As we have jitter on the servos during moves of the steppers, and detaching them improves this behaviour,
the usual sequence to handle a servo movement is:
attach(pin)
write(angel)
delay(until the servo finished the move)
detache()
Here a function to handle the complete sequence.
преди 9 години
Ivan Galvez Junquera
59529b755d
Fixed lowercase change missing on commit a22a228b .
Servo.cpp and Servo.h were changed to lowercase in Makefile but not their actual filenames.
преди 9 години
Scott Lahteine
a22a228bcc
Rename files to move them in the IDE
преди 9 години
Scott Lahteine
c065da52ec
Spacing and spelling
преди 9 години
Scott Lahteine
06c3b37933
Formatting cleanup of quiet sources
Formatting for code-folding plus minor style changes to less active
code.
преди 10 години
alexborro
d74aabf259
Revert "Change Auto_Bed_Leveling to Auto_Bed_Compensation"
преди 10 години
John Davis
f21c65918f
Update Servo.h
Changed AUTO_BED_LEVELING to AUTO_BED_COMPENSATION
преди 10 години
Cylindric
d819c55395
Various typo fixes - only in comments, no code changes.
преди 10 години
Justus Perlwitz
62d0b79023
Fix servo control for Melzi
преди 11 години
Alex Borro
253dfc4bc1
Bed Auto Leveling feature
Check the Readme for instruction how to enable and configure the feature
преди 11 години
Scott Lahteine
5dabc95409
Apply all changes from latest Marlin_V1
Diffed and merged, preserving my updates
преди 11 години
Gord Christmas
dc59f07d24
First attempt at refactoring of original servo code. Only adding servo support as a start to keep things simple.
преди 11 години
Gord Christmas
b668cb0516
Adding in clean copies of Servo library from Arduino 1.0.4
преди 11 години