This is a test

Dependencies:   Motor

Branch:
master
Revision:
4:226d394ffd9e
Parent:
2:bc0d7cc15f1c
--- a/main.cpp	Sat Oct 06 23:05:25 2018 +0000
+++ b/main.cpp	Sat Oct 06 23:09:00 2018 +0000
@@ -7,13 +7,17 @@
 #include "mbed.h"
 #include "stdio.h"
 #include "Motor.h"
+#include "Servo.h"
 
 Motor mot(p26,p30,p29); 
+Servo rud(p21); 
 
 int main() {
     printf("ES200-1121 Team 1\n");
     printf("Project 2 test code\n");
     
     mot.speed(0.0); 
+    rud.calibrate(0.0009,90.0); // calibration for Hitec HS422 in ES200 
+    rud.write(0.5); 
 } // main()