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: BMP280
WebUI.h
- Committer:
- mwthewsey
- Date:
- 2018-01-06
- Revision:
- 9:ac5673cca703
- Parent:
- 2:5a38ae8459d5
- Child:
- 13:41c394fa932c
File content as of revision 9:ac5673cca703:
#ifndef __WebUI__
#define __WebUI__
#include <string>
#include "EthernetInterface.h"
#include "TCPServer.h"
#include "TCPSocket.h"
#include <iostream>
//Now setup a web server
extern TCPServer srv; //TCP/IP Server
extern TCPSocket clt_sock; //Socket for communication
extern SocketAddress clt_addr; //Address of incoming connection
void WebUISetup(void); //Configures the TCP server
void WebUIUpdate(float ldr); //Might be called as a string, but does have blocking currently.
#endif