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:
- 59:72567654250f
- Parent:
- 58:cdfbedad5df6
- Child:
- 60:8a4869455ee6
--- a/main.cpp Thu Sep 03 07:18:03 2020 +0000
+++ b/main.cpp Mon Sep 07 01:33:56 2020 +0000
@@ -4,9 +4,9 @@
*/
/*
- Version 0.01
- Date 2020/09/03
- Uploader Takumi Nomura
+ Version 0.02
+ Date 2020/09/07
+ Uploader Taku Nishimura
更新するときにここも変える!
@@ -923,7 +923,8 @@
{
// WEB page data
- strcpy(webbuff, "<!DOCTYPE html>");
+ 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");
+ strcat(webbuff, "<!DOCTYPE html>");
strcat(webbuff, "<html><head><title>RobotCar</title><meta name='viewport' content='width=device-width'/>");
//strcat(webbuff, "<meta http-equiv=\"refresh\" content=\"5\"; >");
strcat(webbuff, "<style type=\"text/css\">.noselect{ width:100px;height:60px;}.light{ width:100px;height:60px;background-color:#00ff66;}.load{ width: 50px; height: 30px;font-size:10px}</style>");