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.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
6:e6134051068d | 2021-07-08 | titanium | webfile.htm should be encoded in UTF-8. |
5:5c9022a234ef | 2019-04-19 | titanium | led blink added |
4:6d3ca9d6109e | 2019-04-17 | titanium | KBline and Wroom classes are changed to extend the Serial class instead of instantiating Serial objects independently. |
3:01b3fe95a585 | 2019-04-10 | titanium | final for hands-on practice |
2:eaf4e7fa577e | 2019-03-25 | titanium | pc.printf() cannot be assigned to char *; |
1:82a90291b795 | 2019-03-25 | titanium | webfile is added |
0:bc0e1a75926f | 2019-03-24 | titanium | Simple web server on LPC-1768 with WROOM2 WiFi module. |