Bチーム / Mbed 2 deprecated 4wd_omni_simple2

Dependencies:   mbed MultiSerial

Files at this revision

API Documentation at this revision

Comitter:
bousiya03
Date:
Tue Oct 14 10:52:20 2014 +0000
Parent:
36:bacc260185d6
Child:
38:098150180639
Child:
40:01aa02474c8d
Commit message:
??????; ??????

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Oct 14 10:12:10 2014 +0000
+++ b/main.cpp	Tue Oct 14 10:52:20 2014 +0000
@@ -60,11 +60,6 @@
 uint8_t check_data[2]= {0};
 
 void safety_mode(){
-
-            pwm[0] = 0;
-            pwm[1] = 0;
-            pwm[2] = 0;
-            pwm[3] = 0;
             
             get_data[0] = 0;
             get_data[1] = 0;
@@ -108,7 +103,7 @@
     pwm[3] = PWM;
     
     /* Timer interrupt init */
-    xbee_check.attach(safety_mode,1.0);
+    xbee_check.attach(safety_mode,0.1);
     
     /* stract data init */
     xbee_packet *pt_packet=&packet;
--- a/mbed.bld	Tue Oct 14 10:12:10 2014 +0000
+++ b/mbed.bld	Tue Oct 14 10:52:20 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/9327015d4013
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1
\ No newline at end of file