2
Dependencies: RemoteIR TextLCD
Diff: main.cpp
- Revision:
- 72:d389adc0c780
- Parent:
- 71:192af47a260d
- Child:
- 73:8ce014cb07f1
--- a/main.cpp Fri Sep 11 00:49:21 2020 +0000 +++ b/main.cpp Fri Sep 11 07:51:34 2020 +0000 @@ -4,9 +4,9 @@ */ /* - Version 0.13 - Date 2020/09/10 - Uploader Tomotsugu Ogawa + Version 0.14 + Date 2020/09/11 + Uploader Taku Nishimura 更新するときにここも変える! @@ -996,7 +996,7 @@ //strcpy(webbuff, "HTTP/1.1 200 OK\nDate: Thu, 03 Sep 2020 07:43:28 GMT\nContent-Type: text/html\nContent-Length: 2843\nConnection: keep-alive\n\n"); strcpy(webbuff, "<!DOCTYPE html>"); strcat(webbuff, "<html><head><title>RobotCarControl</title><meta name='viewport' content='width=device-width'/>"); - //strcat(webbuff, "<meta http-equiv=\"refresh\" content=\"5\"; >"); + strcat(webbuff, "<meta http-equiv=\"refresh\" content=\"10\"; >"); strcat(webbuff, "<style type=\"text/css\">.noselect{ width:100px;height:60px;border-radius: 25px;outline:0;}.light{ width:100px;height:60px;background-color:#00ff66;border-radius: 25px;outline:0;}.load{ width: 50px; height: 30px;font-size:10px}</style>"); strcat(webbuff, "</head><body><center><p><strong>RobotCarControl"); strcat(webbuff, "</strong></p><td style='vertical-align:top;'><strong>Battery :"); @@ -1147,7 +1147,7 @@ strcat(webbuff, "<strong>Speed</strong>"); strcat(webbuff, "<table><tr><td>"); //ready示速度だけ点灯 - switch (flag_sp) { //現在の速度のボタン表示 + switch (flag_sp%3) { //現在の速度のボタン表示 case 0: //ノーマル strcat(webbuff, "<button id='sp1btn' type='button' class=\"light\" value=\"Normal\" onmousedown='send_mes_spe(this.value)' >Normal"); strcat(webbuff, "</button></td><td>");