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.

History

webfile.htm should be encoded in UTF-8. default tip

2021-07-08, by titanium [Thu, 08 Jul 2021 09:12:13 +0000] rev 6

webfile.htm should be encoded in UTF-8.


led blink added

2019-04-19, by titanium [Fri, 19 Apr 2019 01:53:48 +0000] rev 5

led blink added


KBline and Wroom classes are changed to extend the Serial class instead of instantiating Serial objects independently.

2019-04-17, by titanium [Wed, 17 Apr 2019 07:40:36 +0000] rev 4

KBline and Wroom classes are changed to extend the Serial class instead of instantiating Serial objects independently.


final for hands-on practice

2019-04-10, by titanium [Wed, 10 Apr 2019 02:47:18 +0000] rev 3

final for hands-on practice


pc.printf() cannot be assigned to char *;

2019-03-25, by titanium [Mon, 25 Mar 2019 05:53:15 +0000] rev 2

pc.printf() cannot be assigned to char *;


webfile is added

2019-03-25, by titanium [Mon, 25 Mar 2019 02:08:29 +0000] rev 1

webfile is added


Simple web server on LPC-1768 with WROOM2 WiFi module.

2019-03-24, by titanium [Sun, 24 Mar 2019 11:32:07 +0000] rev 0

Simple web server on LPC-1768 with WROOM2 WiFi module.