Skip to content
Snippets Groups Projects
  1. Aug 03, 2015
  2. Jul 31, 2015
  3. Jul 25, 2015
    • AnHardt's avatar
      Some more servo code tweaks · 8b876241
      AnHardt authored
      Just set up the pin. Don't move to a random position.
      
      Simplify servo::move()
      * servo::move() does not need the pin parameter - The pin is set during servo_init() with attach().
      * servo::move() does not need a return value.
      
      SERVO_LEVELING is the wrong condition to deactivate the servos.
      
      Remove some temporary (Servo *) variables.
      SanityCheck for the servo indexes.
      8b876241
  4. Jul 22, 2015
  5. Jul 19, 2015
  6. Jul 16, 2015
  7. Jul 15, 2015
    • AnHardt's avatar
      Add Servo::move() to servo.cpp · 2ddb2a2b
      AnHardt authored
      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.
      2ddb2a2b
  8. Jun 28, 2015
  9. May 04, 2015
  10. Apr 28, 2015
  11. Apr 26, 2015
  12. Jan 24, 2015
  13. Dec 21, 2014
  14. Dec 19, 2014
  15. Sep 29, 2013
  16. Jun 06, 2013
  17. May 18, 2013
  18. May 16, 2013
Loading