Skip to content

Commit

Permalink
Servo library to format 1.5 rev.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Jan 1, 2014
1 parent 03a7cf3 commit 4b73026
Show file tree
Hide file tree
Showing 6 changed files with 626 additions and 620 deletions.
8 changes: 3 additions & 5 deletions libraries/Servo/library.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name=Servo
author=
email=
version=1.0
author=Michael Margolis, Arduino
maintainer=Arduino <info@arduino.cc>
sentence=Controls a lot of Servos.
paragraph=This library can control a great number of servos.<br />It makes careful use of timers: the library can control 12 servos using only 1 timer.<br />On the Arduino Due you can control up to 60 servos.<br />
url=http://arduino.cc/en/Reference/Servo
architectures=avr,sam
version=1.0
dependencies=
core-dependencies=arduino (>=1.5.0)
8 changes: 7 additions & 1 deletion libraries/Servo/src/Servo.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@
*/

// Architecture specific include
#include <ServoTimers.h>
#if defined(ARDUINO_ARCH_AVR)
#include "avr/ServoTimers.h"
#elif defined(ARDUINO_ARCH_SAM)
#include "sam/ServoTimers.h"
#else
#error "This library only supports boards with an AVR or SAM processor."

This comment has been minimized.

Copy link
@probonopd

probonopd Mar 29, 2015

Contributor

It would be nice if the library could be expanded to support the esp8266 as well; this is probably dependent on the PWM code being implemented

#endif

#define Servo_VERSION 2 // software version of this library

Expand Down
Loading

0 comments on commit 4b73026

Please sign in to comment.