Fish Feeder

Fork of AX12 by Chris Styles

Revision:
4:0cb4b015fe23
Parent:
3:ced71d1b2558
--- a/AX12.h	Sun Apr 10 21:20:44 2011 +0000
+++ b/AX12.h	Tue Jun 30 03:24:38 2015 +0000
@@ -78,7 +78,7 @@
      * @param pin rx pin 
      * @param int ID, the Bus ID of the servo 1-255 
      */
-    AX12(PinName tx, PinName rx, int ID, int baud=1000000);
+    AX12(PinName tx, PinName rx, int ID, int baud=9600);
 
     /** Set the mode of the servo
      * @param mode
@@ -180,7 +180,7 @@
 
 private :
 
-    SerialHalfDuplex _ax12;
+    Serial _ax12;
     int _ID;
     int _baud;