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.
Fork of 2015robot_main by
Revision 7:de01f9ca78f8, committed 2015-09-07
- Comitter:
- unicore32
- Date:
- Mon Sep 07 05:35:55 2015 +0000
- Parent:
- 6:a350810d2071
- Commit message:
- ??????(PIC?send????????w)
Changed in this revision
| main_ps3.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main_ps3.cpp Mon Sep 07 05:10:54 2015 +0000
+++ b/main_ps3.cpp Mon Sep 07 05:35:55 2015 +0000
@@ -20,7 +20,6 @@
initializeMotors();
initializeControllers();
//RS485.putc(10);
- sendData(5, 10);
while(1) {
/*if(circle) Emergency_toggle();
else if(triangle){
@@ -78,8 +77,8 @@
}
}
else if(down) step=7;
- else if(right) sendData(5, 11);//RS485.putc(11);
- else if(left) sendData(1, 10);//RS485.putc(10);
+ else if(right) sendData(5, 15);//RS485.putc(11);
+ else if(left) sendData(1, 31);//RS485.putc(10);
/*else if(right) {
if(edge_right){
edge_right=0;

