A simple API/Software interface to the LPC17xx PWM peripheral to provide control to up to six RC type servo controllers.

Files at this revision

API Documentation at this revision

Comitter:
AjK
Date:
Mon May 02 18:42:16 2011 +0000
Parent:
0:c680385286e3
Child:
2:d6a018232650
Commit message:
1.1 See ChangeLog.h

Changed in this revision

inc/ChangeLog.h Show annotated file Show diff for this revision Revisions of this file
inc/example1.h Show annotated file Show diff for this revision Revisions of this file
--- a/inc/ChangeLog.h	Mon May 02 18:38:45 2011 +0000
+++ b/inc/ChangeLog.h	Mon May 02 18:42:16 2011 +0000
@@ -3,6 +3,9 @@
 SimpleRCservos change log history.
 ==================================
 
+1.1     2/May/2011
+    * Fixed some documentation errors.
+    
 1.0     2/May/2011
     * Initial release.
 
--- a/inc/example1.h	Mon May 02 18:38:45 2011 +0000
+++ b/inc/example1.h	Mon May 02 18:42:16 2011 +0000
@@ -21,10 +21,10 @@
     // This line isn't actually needed as 1ms/2ms is the library's 
     // default but is included here to show how altering it may be
     // achieved.
-    servos.setRange(SimpleRCservos::Servo6, 1000, 2000); // Servo4 uses p21
+    servos.setRange(SimpleRCservos::Servo6, 1000, 2000); // Servo6 uses p21
     
     // Add a servo pulse range, 900us to 2.1ms, neutral 1.5ms.
-    servos.setRange(SimpleRCservos::Servo5, 900, 2100); // Servo4 uses p22
+    servos.setRange(SimpleRCservos::Servo5, 900, 2100); // Servo5 uses p22
     
     // Add a servo pulse range, 600us to 2.4ms, neutral 1.5ms.
     servos.setRange(SimpleRCservos::Servo4, 600, 2400); // Servo4 uses p23