AT commands entered in PC-serial are sent to WROOM2. After WiFi connection is established, ADC value and LED control buttons appear in the browser.
Dependencies: mbed
webfile.htm should be stored in the MBED flash memory so the WROOM2 program can read it in /local/webfile.htm. Some keywords such as $LED1ON$ are substituted by a real text by the program, and the entire page is sent to a requester of the http connection. The size of webfile.htm cannot exceed 2kB. The extension of the filename must be three characters and .html is not allowed by the mbed file system library.
Diff: webfile.htm
- Revision:
- 2:eaf4e7fa577e
- Parent:
- 1:82a90291b795
diff -r 82a90291b795 -r eaf4e7fa577e webfile.htm --- a/webfile.htm Mon Mar 25 02:08:29 2019 +0000 +++ b/webfile.htm Mon Mar 25 05:53:15 2019 +0000 @@ -1,8 +1,6 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="ja"><head><title>IISEC - Matsui Lab</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<meta name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 14.0.8.0 for Windows"> -<meta http-equiv="Content-Style-Type" content="text/css"> </head> <body> <div style="text-align:center; background-color:#F4F4F4; color:#00AEDB;">