This is a driver to control the SD20 20 Channel I2C to Servo Driver Chip from www.robot-electronics.co.uk (http://www.robot-electronics.co.uk/htm/sd20tech.htm). This driver will allow a servo channel to be started up, stopped and the duty cycle altered in standard mode. No attempt to include the extended mode is included.

Revision:
2:b6789ad2af2b
Parent:
1:6557cf755742
Child:
6:973d6a66dbf7
--- a/SD20.h	Sun Jan 24 15:10:48 2016 +0000
+++ b/SD20.h	Sun Feb 21 23:19:27 2016 +0000
@@ -1,3 +1,27 @@
+/* #####################################################################
+                               SD20.h
+                               ------
+                
+                          Surface Ship, Group 5
+                          ---------------------
+ 
+ Written by:        Steven Kay
+ 
+ Date:              February 2016
+ 
+ Function:          This 
+ 
+ Version:           1.0
+ 
+ Version History
+ ---------------
+ 
+ 1.1                rgdfgdfgdfggdfgdg
+ 
+ 1.0                gdgddfdddgd
+    
+ ##################################################################### */
+
 #ifndef SD20_H
 #define SD20_H
 
@@ -41,13 +65,13 @@
 /* SD20 Channel constants*/
 #define CHANNEL_1 1
 #define CHANNEL_2 2
-#define CHANNEL_3 1
-#define CHANNEL_4 2
-#define CHANNEL_5 1
-#define CHANNEL_6 2
-#define CHANNEL_7 1
-#define CHANNEL_8 2
-#define CHANNEL_9 1
+#define CHANNEL_3 3
+#define CHANNEL_4 4
+#define CHANNEL_5 5
+#define CHANNEL_6 6
+#define CHANNEL_7 7
+#define CHANNEL_8 8
+#define CHANNEL_9 9
 #define CHANNEL_10 10
 #define CHANNEL_11 11
 #define CHANNEL_12 12
@@ -65,7 +89,6 @@
 
 #define STD_MODE 0x00
 
-
 class SD20
 {