Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MultiSerial
Revision 37:53f8b2c0bad6, committed 2014-10-14
- 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