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.
Diff: main.cpp
- Revision:
- 10:80bac0698b04
- Parent:
- 9:d989333191cb
- Child:
- 11:99b63117ffdd
--- a/main.cpp Wed Nov 21 07:10:01 2018 +0000
+++ b/main.cpp Wed Nov 21 07:27:49 2018 +0000
@@ -178,9 +178,10 @@
#endif
while(1){ //左折カーブ~トンネル手前のマーク
set_sensor();
- if( sensor[0] <= grayL && sensor[3] <= grayR)
+ if( sensor[0] <= grayL && sensor[3] <= grayR){
+ wait(0.2);
break;
- else
+ } else
go_straight_CR();
}
#ifdef blinky