2
Dependencies: RemoteIR TextLCD
Diff: main.cpp
- Revision:
- 70:04798984630c
- Parent:
- 69:7f305b4e706e
- Child:
- 71:192af47a260d
--- a/main.cpp Wed Sep 09 07:58:57 2020 +0000 +++ b/main.cpp Wed Sep 09 08:26:32 2020 +0000 @@ -978,7 +978,7 @@ //strcat(webbuff, "<meta http-equiv=\"refresh\" content=\"5\"; >"); 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"); + strcat(webbuff, "</strong></p><td style='vertical-align:top;'><strong>Battery :"); if(b<=30){ //30%より下の場合残電量を赤文字 strcat(webbuff, "<font color=\"red\">"); sprintf(webbuff, "%s%3d", webbuff, b); @@ -986,7 +986,7 @@ }else{ sprintf(webbuff, "%s%3d", webbuff, b); } - strcat(webbuff, "%</strong>"); + strcat(webbuff, " %</strong>"); strcat(webbuff, "<button id=\"reloadbtn\" type=\"button\" class=\"load\" onmousedown=\"location.reload()\">Reload</button>"); strcat(webbuff, "</td></p>"); strcat(webbuff, "<br>");