Merge pull request #1985 from Arengorn/Development

Update of servo.h
This commit is contained in:
Scott Lahteine 2015-04-27 22:10:02 -07:00
commit 31516e2a3b
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@
#endif
#if NUM_SERVOS > 0
#include "servo.h"
#include "Servo.h"
#endif
#if HAS_DIGIPOTSS

View file

@ -48,7 +48,7 @@
#include <avr/interrupt.h>
#include <Arduino.h>
#include "servo.h"
#include "Servo.h"
#define usToTicks(_us) (( clockCyclesPerMicrosecond()* _us) / 8) // converts microseconds to tick (assumes prescale of 8) // 12 Aug 2009
#define ticksToUs(_ticks) (( (unsigned)_ticks * 8)/ clockCyclesPerMicrosecond() ) // converts from ticks back to microseconds