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
Diff: main.cpp
- Revision:
- 3:2472790818a9
- Parent:
- 2:4d51edb0a6c9
- Child:
- 4:52361cf7f1d8
diff -r 4d51edb0a6c9 -r 2472790818a9 main.cpp
--- a/main.cpp Tue Aug 04 07:30:25 2020 +0000
+++ b/main.cpp Tue Aug 04 07:35:46 2020 +0000
@@ -260,11 +260,11 @@
//ready示速度だけ点灯
switch (flag_sp) {
case 0:
- strcat(webbuff, "<button id='sp1btn' type='button' class=\"light\" value=\"SLOW\" onClick='send_mes_spe(this.id,this.value)' >SLOW");
+ strcat(webbuff, "<button id='sp1btn' type='button' class=\"light\" value=\"Normal\" onClick='send_mes_spe(this.id,this.value)' >Normal");
strcat(webbuff, "</button></td><td>");
- strcat(webbuff, "<button id='sp2btn' type='button' class=\"noselect\" value=\"FAST\" onClick='send_mes_spe(this.id,this.value)' >FAST");
+ strcat(webbuff, "<button id='sp2btn' type='button' class=\"noselect\" value=\"Fast\" onClick='send_mes_spe(this.id,this.value)' >Fast");
strcat(webbuff, "</button></td><td>");
- strcat(webbuff, "<button id='sp3btn' type='button' class=\"noselect\" value=\"FLY\" onClick='send_mes_spe(this.id,this.value)' >FLY");
+ strcat(webbuff, "<button id='sp3btn' type='button' class=\"noselect\" value=\"VeryFast\" onClick='send_mes_spe(this.id,this.value)' >VeryFast");
break;
case 1:
strcat(webbuff, "<button id='sp1btn' type='button' class=\"noselect\" value=\"SLOW\" onClick='send_mes_spe(this.id,this.value)' >SLOW");
@@ -552,21 +552,21 @@
// display(); // ディスプレイ表示
}
- if( strstr(webdata, "SLOW") != NULL ) {
+ if( strstr(webdata, "Normal") != NULL ) {
pc.printf("++++++++++++++++++SLOW++++++++++++++++++++");
mode = SPEED; // スピードモード
flag_sp = 0;
// display(); // ディスプレイ表示
mode = beforeMode; // 現在のモードに前回のモードを設定
}
- if( strstr(webdata, "FAST") != NULL ) {
+ if( strstr(webdata, "Fast") != NULL ) {
pc.printf("++++++++++++++++++++FAST++++++++++++++++++");
mode = SPEED; // スピードモード
flag_sp = 1;
// display(); // ディスプレイ表示
mode = beforeMode; // 現在のモードに前回のモードを設定
}
- if( strstr(webdata, "FLY") != NULL ) {
+ if( strstr(webdata, "BeryFast") != NULL ) {
pc.printf("+++++++++++++++++++BERYFAST+++++++++++++++++++");
mode = SPEED; // スピードモード d
flag_sp = 2;