cannon ball

Dependencies:   SerialDriver Servo mbed-rtos mbed

Fork of Nucleo_ServoKnob by Jose Rios

Files at this revision

API Documentation at this revision

Comitter:
Malek0512
Date:
Sun Apr 12 13:29:21 2015 +0000
Parent:
3:bc919a54f665
Commit message:
Version soutenance

Changed in this revision

Servo.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r bc919a54f665 -r 14c987860285 Servo.lib
--- a/Servo.lib	Tue Apr 07 21:52:02 2015 +0000
+++ b/Servo.lib	Sun Apr 12 13:29:21 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/simon/code/Servo/#f292f148fc87
+http://developer.mbed.org/users/Malek0512/code/Servo/#f292f148fc87
diff -r bc919a54f665 -r 14c987860285 main.cpp
--- a/main.cpp	Tue Apr 07 21:52:02 2015 +0000
+++ b/main.cpp	Sun Apr 12 13:29:21 2015 +0000
@@ -69,7 +69,7 @@
             steeringUSB = usb.getc();
             //writeSteering(steeringUSB);
             steering.position(steeringUSB - 95);
-            usb.putc(steeringUSB); 
+            //usb.putc(steeringUSB); 
             //time_data_check_last = time_data_check;
             //time_data_check = timer.read_ms();
             if (DEBUG) {
@@ -83,7 +83,7 @@
             throttleUSB = usb.getc();
             writeThrottle(throttleUSB);
              
-            usb.putc(throttleUSB);
+            //usb.putc(throttleUSB);
   
             time_data_check_last = time_data_check;
             time_data_check = timer.read_ms();