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: RemoteIR TextLCD
Diff: main.cpp
- Revision:
- 45:76e8c07d76ef
- Parent:
- 44:721432d6ee4b
- Child:
- 46:c6deb699160b
--- a/main.cpp Thu Aug 20 01:59:32 2020 +0000
+++ b/main.cpp Thu Aug 20 02:57:46 2020 +0000
@@ -127,11 +127,11 @@
void bChange();
void display();
void lcdBacklight(void const *argument);
-void SendCMD(),getreply(),ReadWebData(),startserver(),sendpage(),SendWEB(),sendcheck(),touchuan();
+void SendCMD(),getreply(),ReadWebData(),startserver(),sendpage(),SendWEB(),sendcheck();
void wifi(/*void const *argument*/);
Thread *deco_thread; // decodeIRをスレッド化 :+3
Thread *wifi_thread;
-//wifi_thread(wifi,NULL,osPriorityHigh); // wifiをスレッド化
+//wifi_thread(wifi,NULL,osPriorityHigh); // wifiをスレッド化
Thread *motor_thread; // motorをスレッド化 :+2
//Thread avoi_thread(avoidance, NULL, osPriorityHigh); // avoidanceをスレッド化:+2
//Thread trace_thread(trace, NULL, osPriorityHigh); // traceをスレッド化 :+2
@@ -454,8 +454,8 @@
break;
case 3: // 右の場合
run = RIGHT; // 右折
- int kyori = watch();
- int kyori_f=0;
+ //int kyori = watch();
+ //int kyori_f=0;
while(i < 20){ // 進行方向確認
/*if(kyori > (far - 2) || kyori_f == 2){ // 正面の計測距離と最も遠い距離が一致したら(誤差-2cm)
break; // ループ+